Enum netstack3_core::neighbor::EventState
source · pub enum EventState<L: LinkUnicastAddress> {
Dynamic(EventDynamicState<L>),
Static(L),
}
Expand description
Neighbor state published via events.
Note that this is not how state is held in the neighbor table itself,
see [NeighborState
].
Either a dynamic state within the Neighbor Unreachability Detection (NUD) state machine, or a static entry that never expires.
Variants§
Trait Implementations§
source§impl<L: Clone + LinkUnicastAddress> Clone for EventState<L>
impl<L: Clone + LinkUnicastAddress> Clone for EventState<L>
source§fn clone(&self) -> EventState<L>
fn clone(&self) -> EventState<L>
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<L: Debug + LinkUnicastAddress> Debug for EventState<L>
impl<L: Debug + LinkUnicastAddress> Debug for EventState<L>
source§impl<L: Hash + LinkUnicastAddress> Hash for EventState<L>
impl<L: Hash + LinkUnicastAddress> Hash for EventState<L>
source§impl<L: PartialEq + LinkUnicastAddress> PartialEq for EventState<L>
impl<L: PartialEq + LinkUnicastAddress> PartialEq for EventState<L>
source§fn eq(&self, other: &EventState<L>) -> bool
fn eq(&self, other: &EventState<L>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<L: Copy + LinkUnicastAddress> Copy for EventState<L>
impl<L: Eq + LinkUnicastAddress> Eq for EventState<L>
impl<L: LinkUnicastAddress> StructuralPartialEq for EventState<L>
Auto Trait Implementations§
impl<L> Freeze for EventState<L>
impl<L> RefUnwindSafe for EventState<L>where
L: UnicastAddress + LinkAddress + Send + Eq + PartialEq + Debug + Clone + Copy + Unaligned + NoCell + IntoBytes + FromBytes + FromZeros + 'static + RefUnwindSafe,
impl<L> Send for EventState<L>
impl<L> Sync for EventState<L>
impl<L> Unpin for EventState<L>
impl<L> UnwindSafe for EventState<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.