pub enum EmbeddedSwitchMode {
Switchdev,
Legacy,
}
Variants§
Trait Implementations§
Source§impl Clone for EmbeddedSwitchMode
impl Clone for EmbeddedSwitchMode
Source§fn clone(&self) -> EmbeddedSwitchMode
fn clone(&self) -> EmbeddedSwitchMode
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 EmbeddedSwitchMode
impl Debug for EmbeddedSwitchMode
Source§impl<'de> Deserialize<'de> for EmbeddedSwitchMode
impl<'de> Deserialize<'de> for EmbeddedSwitchMode
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
Source§impl PartialEq for EmbeddedSwitchMode
impl PartialEq for EmbeddedSwitchMode
Source§impl Serialize for EmbeddedSwitchMode
impl Serialize for EmbeddedSwitchMode
impl Eq for EmbeddedSwitchMode
impl StructuralPartialEq for EmbeddedSwitchMode
Auto Trait Implementations§
impl Freeze for EmbeddedSwitchMode
impl RefUnwindSafe for EmbeddedSwitchMode
impl Send for EmbeddedSwitchMode
impl Sync for EmbeddedSwitchMode
impl Unpin for EmbeddedSwitchMode
impl UnwindSafe for EmbeddedSwitchMode
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