pub enum RejectReason {
Replay,
Expired,
FutureDated,
IdTooLarge,
CacheFull,
}Expand description
Why a PacketReceiver rejected a packet.
Variants§
Replay
Expired
FutureDated
IdTooLarge
Packet ID exceeded the local cap.
CacheFull
Cache full and no entry could be evicted.
Trait Implementations§
Source§impl Clone for RejectReason
impl Clone for RejectReason
Source§fn clone(&self) -> RejectReason
fn clone(&self) -> RejectReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RejectReason
Source§impl Debug for RejectReason
impl Debug for RejectReason
impl Eq for RejectReason
Source§impl PartialEq for RejectReason
impl PartialEq for RejectReason
Source§fn eq(&self, other: &RejectReason) -> bool
fn eq(&self, other: &RejectReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RejectReason
Auto Trait Implementations§
impl Freeze for RejectReason
impl RefUnwindSafe for RejectReason
impl Send for RejectReason
impl Sync for RejectReason
impl Unpin for RejectReason
impl UnsafeUnpin for RejectReason
impl UnwindSafe for RejectReason
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