#[non_exhaustive]pub enum ExtReqFrameCode {
Barrier,
Durability,
StreamID,
OtelContext,
OnBehalfOf,
PreserveTTL,
ExtraPerm,
Unknown(u16),
}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.
Trait Implementations§
Source§impl Clone for ExtReqFrameCode
impl Clone for ExtReqFrameCode
Source§fn clone(&self) -> ExtReqFrameCode
fn clone(&self) -> ExtReqFrameCode
Returns a duplicate 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 ExtReqFrameCode
impl Debug for ExtReqFrameCode
Source§impl From<ExtReqFrameCode> for u16
impl From<ExtReqFrameCode> for u16
Source§fn from(value: ExtReqFrameCode) -> u16
fn from(value: ExtReqFrameCode) -> u16
Converts to this type from the input type.
Source§impl Hash for ExtReqFrameCode
impl Hash for ExtReqFrameCode
Source§impl Ord for ExtReqFrameCode
impl Ord for ExtReqFrameCode
Source§fn cmp(&self, other: &ExtReqFrameCode) -> Ordering
fn cmp(&self, other: &ExtReqFrameCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtReqFrameCode
impl PartialEq for ExtReqFrameCode
Source§impl PartialOrd for ExtReqFrameCode
impl PartialOrd for ExtReqFrameCode
impl Copy for ExtReqFrameCode
impl Eq for ExtReqFrameCode
impl StructuralPartialEq for ExtReqFrameCode
Auto Trait Implementations§
impl Freeze for ExtReqFrameCode
impl RefUnwindSafe for ExtReqFrameCode
impl Send for ExtReqFrameCode
impl Sync for ExtReqFrameCode
impl Unpin for ExtReqFrameCode
impl UnsafeUnpin for ExtReqFrameCode
impl UnwindSafe for ExtReqFrameCode
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