pub enum StpState {
Disabled,
Blocking,
Listening,
Learning,
Forwarding,
Broken,
Unknown,
}Expand description
Spanning-Tree Protocol state for a port, as reported by the switch.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StpState
impl<'de> Deserialize<'de> for StpState
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 StpState
impl Eq for StpState
impl StructuralPartialEq for StpState
Auto Trait Implementations§
impl Freeze for StpState
impl RefUnwindSafe for StpState
impl Send for StpState
impl Sync for StpState
impl Unpin for StpState
impl UnsafeUnpin for StpState
impl UnwindSafe for StpState
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