pub enum Replay {
Resend,
Conflict,
}Expand description
What to do with a command whose key matches a stored record (§7.3).
Variants§
Resend
Same type and body hash: send the stored response again; execute nothing.
Conflict
Different type or body hash: answer CONFLICT{reason: "request_id_reused"}
(ErrorBody::conflict(Reason::RequestIdReused)).
Trait Implementations§
impl Copy for Replay
impl Eq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl Freeze for Replay
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnsafeUnpin for Replay
impl UnwindSafe for Replay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more