pub enum EswitchInlineMode {
None = 0,
Link = 1,
Network = 2,
Transport = 3,
}Available on crate feature
devlink only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Source§impl EswitchInlineMode
impl EswitchInlineMode
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for EswitchInlineMode
impl Clone for EswitchInlineMode
Source§fn clone(&self) -> EswitchInlineMode
fn clone(&self) -> EswitchInlineMode
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 EswitchInlineMode
impl Debug for EswitchInlineMode
impl Copy for EswitchInlineMode
Auto Trait Implementations§
impl Freeze for EswitchInlineMode
impl RefUnwindSafe for EswitchInlineMode
impl Send for EswitchInlineMode
impl Sync for EswitchInlineMode
impl Unpin for EswitchInlineMode
impl UnsafeUnpin for EswitchInlineMode
impl UnwindSafe for EswitchInlineMode
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