pub enum L2Mode {
Access,
Trunk,
}Expand description
Switchport operating mode.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for L2Mode
impl<'de> Deserialize<'de> for L2Mode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for L2Mode
Auto Trait Implementations§
impl Freeze for L2Mode
impl RefUnwindSafe for L2Mode
impl Send for L2Mode
impl Sync for L2Mode
impl Unpin for L2Mode
impl UnsafeUnpin for L2Mode
impl UnwindSafe for L2Mode
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