pub enum TriggerEvent {
FaceUp,
ForwardingFailure,
NeighborStale,
PassiveDetection,
}Expand description
An out-of-band event that informs the strategy and may cause an early probe.
Variants§
FaceUp
A new face came up; send a hello immediately to bootstrap the neighbor table.
ForwardingFailure
A forwarding failure occurred (Nack received or no FIB match); re-probe to verify the affected face is still alive.
NeighborStale
A neighbor’s liveness deadline expired without a hello response; switch
to fast re-probing (ESTABLISHED → STALE).
PassiveDetection
A packet was passively observed from an unknown source MAC. Only
meaningful for PassiveScheduler.
Trait Implementations§
Source§impl Clone for TriggerEvent
impl Clone for TriggerEvent
Source§fn clone(&self) -> TriggerEvent
fn clone(&self) -> TriggerEvent
Returns a duplicate 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 TriggerEvent
impl Debug for TriggerEvent
Source§impl PartialEq for TriggerEvent
impl PartialEq for TriggerEvent
impl Eq for TriggerEvent
impl StructuralPartialEq for TriggerEvent
Auto Trait Implementations§
impl Freeze for TriggerEvent
impl RefUnwindSafe for TriggerEvent
impl Send for TriggerEvent
impl Sync for TriggerEvent
impl Unpin for TriggerEvent
impl UnwindSafe for TriggerEvent
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more