#[non_exhaustive]pub enum ExtResFrameCode {
ServerDuration,
ReadUnits,
WriteUnits,
ThrottleDuration,
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 ExtResFrameCode
impl Clone for ExtResFrameCode
Source§fn clone(&self) -> ExtResFrameCode
fn clone(&self) -> ExtResFrameCode
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 ExtResFrameCode
impl Debug for ExtResFrameCode
Source§impl From<ExtResFrameCode> for u16
impl From<ExtResFrameCode> for u16
Source§fn from(value: ExtResFrameCode) -> u16
fn from(value: ExtResFrameCode) -> u16
Converts to this type from the input type.
Source§impl From<u16> for ExtResFrameCode
impl From<u16> for ExtResFrameCode
Source§impl Hash for ExtResFrameCode
impl Hash for ExtResFrameCode
Source§impl Ord for ExtResFrameCode
impl Ord for ExtResFrameCode
Source§fn cmp(&self, other: &ExtResFrameCode) -> Ordering
fn cmp(&self, other: &ExtResFrameCode) -> 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 ExtResFrameCode
impl PartialEq for ExtResFrameCode
Source§impl PartialOrd for ExtResFrameCode
impl PartialOrd for ExtResFrameCode
impl Copy for ExtResFrameCode
impl Eq for ExtResFrameCode
impl StructuralPartialEq for ExtResFrameCode
Auto Trait Implementations§
impl Freeze for ExtResFrameCode
impl RefUnwindSafe for ExtResFrameCode
impl Send for ExtResFrameCode
impl Sync for ExtResFrameCode
impl Unpin for ExtResFrameCode
impl UnsafeUnpin for ExtResFrameCode
impl UnwindSafe for ExtResFrameCode
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