# Function envelope::replay

> Compares a retried command with the stored record for its key.

`zaun_community_protocol::envelope::replay` · Function

```rust
pub fn replay(stored_kind: &str, stored_hash: &BodyHash, kind: &str, hash: &BodyHash) -> Replay
```

Compares a retried command with the stored record for its key.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/envelope/idempotency/fn.replay.html)
