pub enum PoeMode {
Auto,
Off,
Passive24V,
Passthrough,
Other,
}Expand description
PoE operating mode for a switch port (configuration, not live state).
Variants§
Auto
Automatic negotiation (802.3af/at/bt).
Off
PoE explicitly disabled on this port.
Passive24V
Passive 24V (legacy).
Passthrough
PoE passthrough (for specific switches).
Other
Unknown or vendor-specific mode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoeMode
impl<'de> Deserialize<'de> for PoeMode
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 Copy for PoeMode
impl Eq for PoeMode
impl StructuralPartialEq for PoeMode
Auto Trait Implementations§
impl Freeze for PoeMode
impl RefUnwindSafe for PoeMode
impl Send for PoeMode
impl Sync for PoeMode
impl Unpin for PoeMode
impl UnsafeUnpin for PoeMode
impl UnwindSafe for PoeMode
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