#[non_exhaustive]pub enum NeighbourState {
Incomplete,
Reachable,
Stale,
Delay,
Probe,
Failed,
Noarp,
Permanent,
None,
Other(u16),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for NeighbourState
impl Clone for NeighbourState
source§fn clone(&self) -> NeighbourState
fn clone(&self) -> NeighbourState
Returns a copy 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 NeighbourState
impl Debug for NeighbourState
source§impl Default for NeighbourState
impl Default for NeighbourState
source§fn default() -> NeighbourState
fn default() -> NeighbourState
Returns the “default value” for a type. Read more
source§impl Display for NeighbourState
impl Display for NeighbourState
source§impl From<NeighbourState> for u16
impl From<NeighbourState> for u16
source§fn from(v: NeighbourState) -> u16
fn from(v: NeighbourState) -> u16
Converts to this type from the input type.
source§impl From<u16> for NeighbourState
impl From<u16> for NeighbourState
source§impl PartialEq for NeighbourState
impl PartialEq for NeighbourState
impl Copy for NeighbourState
impl Eq for NeighbourState
impl StructuralPartialEq for NeighbourState
Auto Trait Implementations§
impl Freeze for NeighbourState
impl RefUnwindSafe for NeighbourState
impl Send for NeighbourState
impl Sync for NeighbourState
impl Unpin for NeighbourState
impl UnwindSafe for NeighbourState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)