pub enum LinkStatus {
LinkUp,
NoLink,
LinkDown,
}Variants§
LinkUp
The link is available for communication on this interface.
NoLink
No link or connection is detected on this interface.
LinkDown
No link is detected on this interface, but the interface is connected.
Trait Implementations§
Source§impl Clone for LinkStatus
impl Clone for LinkStatus
Source§fn clone(&self) -> LinkStatus
fn clone(&self) -> LinkStatus
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 LinkStatus
impl Debug for LinkStatus
Source§impl<'de> Deserialize<'de> for LinkStatus
impl<'de> Deserialize<'de> for LinkStatus
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 LinkStatus
impl PartialEq for LinkStatus
Source§impl Serialize for LinkStatus
impl Serialize for LinkStatus
Source§impl ToSnakeCase for LinkStatus
impl ToSnakeCase for LinkStatus
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for LinkStatus
impl Eq for LinkStatus
impl StructuralPartialEq for LinkStatus
Auto Trait Implementations§
impl Freeze for LinkStatus
impl RefUnwindSafe for LinkStatus
impl Send for LinkStatus
impl Sync for LinkStatus
impl Unpin for LinkStatus
impl UnsafeUnpin for LinkStatus
impl UnwindSafe for LinkStatus
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