Enum Smbtype
#[repr(u8)]pub enum Smbtype {
Device = 0,
Host = 1,
}Variants§
Implementations§
Trait Implementations§
impl Copy for Smbtype
impl Eq for Smbtype
§impl Ord for Smbtype
impl Ord for Smbtype
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
§impl PartialOrd for Smbtype
impl PartialOrd for Smbtype
impl StructuralPartialEq for Smbtype
Auto Trait Implementations§
impl Freeze for Smbtype
impl RefUnwindSafe for Smbtype
impl Send for Smbtype
impl Sync for Smbtype
impl Unpin for Smbtype
impl UnsafeUnpin for Smbtype
impl UnwindSafe for Smbtype
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