pub enum Reject {
BadSignature,
NotAllowlisted,
WrongRecipient,
Stale,
Replay,
Unexpected,
}Expand description
Why a message was dropped. All of these are logged, none reach the model.
Variants§
BadSignature
NotAllowlisted
WrongRecipient
Stale
Replay
Unexpected
A pairing kind from someone already a peer, or an otherwise nonsensical (peer, kind) combination — ignored.
Trait Implementations§
impl Eq for Reject
impl StructuralPartialEq for Reject
Auto Trait Implementations§
impl Freeze for Reject
impl RefUnwindSafe for Reject
impl Send for Reject
impl Sync for Reject
impl Unpin for Reject
impl UnsafeUnpin for Reject
impl UnwindSafe for Reject
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.