pub struct FakeLinkResolutionNotifier<D: LinkDevice>(/* private fields */);
Expand description
A fake implementation of LinkResolutionNotifier
.
Trait Implementations§
source§impl<D: LinkDevice> LinkResolutionNotifier<D> for FakeLinkResolutionNotifier<D>
impl<D: LinkDevice> LinkResolutionNotifier<D> for FakeLinkResolutionNotifier<D>
§type Observer = Arc<Mutex<Option<Result<<D as LinkDevice>::Address, AddressResolutionFailed>>>>
type Observer = Arc<Mutex<Option<Result<<D as LinkDevice>::Address, AddressResolutionFailed>>>>
The corresponding observer that can be used to observe the result of
link address resolution.
source§fn notify(self, result: Result<D::Address, AddressResolutionFailed>)
fn notify(self, result: Result<D::Address, AddressResolutionFailed>)
Signal to Bindings that link address resolution has completed for a
neighbor.
Auto Trait Implementations§
impl<D> Freeze for FakeLinkResolutionNotifier<D>where
D: Debug + Device + 'static,
impl<D> RefUnwindSafe for FakeLinkResolutionNotifier<D>where
D: Debug + Device + 'static,
impl<D> Send for FakeLinkResolutionNotifier<D>where
D: Debug + Device + 'static,
impl<D> Sync for FakeLinkResolutionNotifier<D>where
D: Debug + Device + 'static,
impl<D> Unpin for FakeLinkResolutionNotifier<D>where
D: Debug + Device + 'static,
impl<D> UnwindSafe for FakeLinkResolutionNotifier<D>where
D: Debug + Device + 'static,
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<CC, BC, Meta> RecvFrameContext<BC, Meta> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<BC, Meta> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
source§impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
impl<Meta, BC> SendableFrameMeta<FakeFrameCtx<Meta>, BC> for Meta
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.