Enum srt_protocol::packet::CoreRejectReason
source · #[non_exhaustive]
pub enum CoreRejectReason {
Show 16 variants
System,
Peer,
Resource,
Rogue,
Backlog,
Ipe,
Close,
Version,
RdvCookie,
BadSecret,
Unsecure,
MessageApi,
Congestion,
Filter,
Group,
Timeout,
}
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
Peer
Resource
Rogue
Backlog
Ipe
Close
Version
RdvCookie
BadSecret
Unsecure
MessageApi
Congestion
Filter
Group
Timeout
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<CoreRejectReason> for CoreRejectReason
impl PartialEq<CoreRejectReason> for CoreRejectReason
source§fn eq(&self, other: &CoreRejectReason) -> bool
fn eq(&self, other: &CoreRejectReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for CoreRejectReason
impl TryFrom<i32> for CoreRejectReason
impl Copy for CoreRejectReason
impl Eq for CoreRejectReason
impl StructuralEq for CoreRejectReason
impl StructuralPartialEq for CoreRejectReason
Auto Trait Implementations§
impl RefUnwindSafe for CoreRejectReason
impl Send for CoreRejectReason
impl Sync for CoreRejectReason
impl Unpin for CoreRejectReason
impl UnwindSafe for CoreRejectReason
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.