pub enum NeighborChangeKind {
Added,
Updated,
Deleted,
Other(i32),
}Expand description
What happened to a neighbor entry (NEIGHBOR_CHANGE_* in
src/lldpd-structs.h).
Variants§
Added
A new neighbor was discovered.
Updated
An existing neighbor’s advertised information changed.
Deleted
A neighbor aged out or its port went down.
Other(i32)
A value this crate doesn’t have a name for.
Trait Implementations§
Source§impl Clone for NeighborChangeKind
impl Clone for NeighborChangeKind
Source§fn clone(&self) -> NeighborChangeKind
fn clone(&self) -> NeighborChangeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NeighborChangeKind
Source§impl Debug for NeighborChangeKind
impl Debug for NeighborChangeKind
impl Eq for NeighborChangeKind
Source§impl From<i32> for NeighborChangeKind
impl From<i32> for NeighborChangeKind
Source§impl PartialEq for NeighborChangeKind
impl PartialEq for NeighborChangeKind
impl StructuralPartialEq for NeighborChangeKind
Auto Trait Implementations§
impl Freeze for NeighborChangeKind
impl RefUnwindSafe for NeighborChangeKind
impl Send for NeighborChangeKind
impl Sync for NeighborChangeKind
impl Unpin for NeighborChangeKind
impl UnsafeUnpin for NeighborChangeKind
impl UnwindSafe for NeighborChangeKind
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