#[non_exhaustive]pub enum CoreRejectReason {
Show 16 variants
System = 1_001,
Peer = 1_002,
Resource = 1_003,
Rogue = 1_004,
Backlog = 1_005,
Ipe = 1_006,
Close = 1_007,
Version = 1_008,
RdvCookie = 1_009,
BadSecret = 1_010,
Unsecure = 1_011,
MessageApi = 1_012,
Congestion = 1_013,
Filter = 1_014,
Group = 1_015,
Timeout = 1_016,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
System = 1_001
Peer = 1_002
Resource = 1_003
Rogue = 1_004
Backlog = 1_005
Ipe = 1_006
Close = 1_007
Version = 1_008
RdvCookie = 1_009
BadSecret = 1_010
Unsecure = 1_011
MessageApi = 1_012
Congestion = 1_013
Filter = 1_014
Group = 1_015
Timeout = 1_016
Trait Implementations§
Source§impl Clone for CoreRejectReason
impl Clone for CoreRejectReason
Source§fn clone(&self) -> CoreRejectReason
fn clone(&self) -> CoreRejectReason
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CoreRejectReason
impl Debug for CoreRejectReason
Source§impl Display for CoreRejectReason
impl Display for CoreRejectReason
Source§impl From<CoreRejectReason> for RejectReason
impl From<CoreRejectReason> for RejectReason
Source§fn from(rr: CoreRejectReason) -> RejectReason
fn from(rr: CoreRejectReason) -> RejectReason
Converts to this type from the input type.
Source§impl From<CoreRejectReason> for i32
impl From<CoreRejectReason> for i32
Source§fn from(rr: CoreRejectReason) -> i32
fn from(rr: CoreRejectReason) -> i32
Converts to this type from the input type.
Source§impl PartialEq for CoreRejectReason
impl PartialEq for CoreRejectReason
Source§impl TryFrom<i32> for CoreRejectReason
impl TryFrom<i32> for CoreRejectReason
impl Copy for CoreRejectReason
impl Eq for CoreRejectReason
impl StructuralPartialEq for CoreRejectReason
Auto Trait Implementations§
impl Freeze for CoreRejectReason
impl RefUnwindSafe for CoreRejectReason
impl Send for CoreRejectReason
impl Sync for CoreRejectReason
impl Unpin for CoreRejectReason
impl UnwindSafe for CoreRejectReason
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.