Enum envelope::Replay
zaun_community_protocol::envelope::Replay · Enum
pub enum Replay { … }What to do with a command whose key matches a stored record.
Variants
Section titled “Variants”Resend
Section titled “Resend”Same type and body hash: send the stored response again; execute nothing.
Conflict
Section titled “Conflict”Different type or body hash: answer CONFLICT{reason: "request_id_reused"}
(ErrorBody::conflict(Reason::RequestIdReused)).
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq