Enum netstack3_core::neighbor::EventKind
source · pub enum EventKind<L: LinkUnicastAddress> {
Added(EventState<L>),
Changed(EventState<L>),
Removed,
}
Expand description
Neighbor event kind.
Variants§
Added(EventState<L>)
A neighbor entry was added.
Changed(EventState<L>)
A neighbor entry has changed.
Removed
A neighbor entry was removed.
Trait Implementations§
source§impl<L: PartialEq + LinkUnicastAddress> PartialEq for EventKind<L>
impl<L: PartialEq + LinkUnicastAddress> PartialEq for EventKind<L>
impl<L: Copy + LinkUnicastAddress> Copy for EventKind<L>
impl<L: Eq + LinkUnicastAddress> Eq for EventKind<L>
impl<L: LinkUnicastAddress> StructuralPartialEq for EventKind<L>
Auto Trait Implementations§
impl<L> Freeze for EventKind<L>
impl<L> RefUnwindSafe for EventKind<L>where
L: UnicastAddress + LinkAddress + Send + Eq + PartialEq + Debug + Clone + Copy + Unaligned + NoCell + IntoBytes + FromBytes + FromZeros + 'static + RefUnwindSafe,
impl<L> Send for EventKind<L>
impl<L> Sync for EventKind<L>
impl<L> Unpin for EventKind<L>
impl<L> UnwindSafe for EventKind<L>where
L: UnicastAddress + LinkAddress + Send + Eq + PartialEq + Debug + Clone + Copy + Unaligned + NoCell + IntoBytes + FromBytes + FromZeros + 'static + UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.