Enum Disconnectdetectmsk
#[repr(u8)]pub enum Disconnectdetectmsk {
Mask = 0,
Nomask = 1,
}Variants§
Implementations§
§impl Disconnectdetectmsk
impl Disconnectdetectmsk
pub const fn from_bits(val: u8) -> Disconnectdetectmsk
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Disconnectdetectmsk
impl Clone for Disconnectdetectmsk
§fn clone(&self) -> Disconnectdetectmsk
fn clone(&self) -> Disconnectdetectmsk
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 Disconnectdetectmsk
impl Eq for Disconnectdetectmsk
§impl From<u8> for Disconnectdetectmsk
impl From<u8> for Disconnectdetectmsk
§fn from(val: u8) -> Disconnectdetectmsk
fn from(val: u8) -> Disconnectdetectmsk
Converts to this type from the input type.
§impl Ord for Disconnectdetectmsk
impl Ord for Disconnectdetectmsk
§fn cmp(&self, other: &Disconnectdetectmsk) -> Ordering
fn cmp(&self, other: &Disconnectdetectmsk) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Disconnectdetectmsk
impl PartialEq for Disconnectdetectmsk
§impl PartialOrd for Disconnectdetectmsk
impl PartialOrd for Disconnectdetectmsk
impl StructuralPartialEq for Disconnectdetectmsk
Auto Trait Implementations§
impl Forget for Disconnectdetectmsk
impl Freeze for Disconnectdetectmsk
impl Move for Disconnectdetectmsk
impl RefUnwindSafe for Disconnectdetectmsk
impl Send for Disconnectdetectmsk
impl Sync for Disconnectdetectmsk
impl Unpin for Disconnectdetectmsk
impl UnsafeUnpin for Disconnectdetectmsk
impl UnwindSafe for Disconnectdetectmsk
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