Skip to content

Enum envelope::Replay

zaun_community_protocol::envelope::Replay · Enum

pub enum Replay { … }

What to do with a command whose key matches a stored record.

Same type and body hash: send the stored response again; execute nothing.

Different type or body hash: answer CONFLICT{reason: "request_id_reused"} (ErrorBody::conflict(Reason::RequestIdReused)).

Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq

Full rustdoc page