#[non_exhaustive]pub enum NeighbourFlag {
Use,
Own,
Controller,
Proxy,
ExtLearned,
Offloaded,
Sticky,
Router,
}
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 NeighbourFlag
impl Clone for NeighbourFlag
source§fn clone(&self) -> NeighbourFlag
fn clone(&self) -> NeighbourFlag
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 NeighbourFlag
impl Debug for NeighbourFlag
source§impl From<NeighbourFlag> for u8
impl From<NeighbourFlag> for u8
source§fn from(v: NeighbourFlag) -> u8
fn from(v: NeighbourFlag) -> u8
Converts to this type from the input type.
source§impl PartialEq for NeighbourFlag
impl PartialEq for NeighbourFlag
source§fn eq(&self, other: &NeighbourFlag) -> bool
fn eq(&self, other: &NeighbourFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NeighbourFlag
impl Eq for NeighbourFlag
impl StructuralPartialEq for NeighbourFlag
Auto Trait Implementations§
impl RefUnwindSafe for NeighbourFlag
impl Send for NeighbourFlag
impl Sync for NeighbourFlag
impl Unpin for NeighbourFlag
impl UnwindSafe for NeighbourFlag
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