#[repr(u16)]pub enum ProtoDownReason {
Unspec = 0,
Mask = 1,
Value = 2,
_MAX = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for ProtoDownReason
impl Clone for ProtoDownReason
Source§fn clone(&self) -> ProtoDownReason
fn clone(&self) -> ProtoDownReason
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 ProtoDownReason
impl Debug for ProtoDownReason
Source§impl Hash for ProtoDownReason
impl Hash for ProtoDownReason
Source§impl Into<u16> for ProtoDownReason
impl Into<u16> for ProtoDownReason
Source§impl Into<usize> for ProtoDownReason
impl Into<usize> for ProtoDownReason
Source§impl PartialEq for ProtoDownReason
impl PartialEq for ProtoDownReason
Source§impl TryFrom<u16> for ProtoDownReason
impl TryFrom<u16> for ProtoDownReason
impl Copy for ProtoDownReason
impl Eq for ProtoDownReason
impl StructuralPartialEq for ProtoDownReason
Auto Trait Implementations§
impl Freeze for ProtoDownReason
impl RefUnwindSafe for ProtoDownReason
impl Send for ProtoDownReason
impl Sync for ProtoDownReason
impl Unpin for ProtoDownReason
impl UnwindSafe for ProtoDownReason
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