pub trait LinkResolutionNotifier<D>:
Sized
+ Debug
+ Sendwhere
D: LinkDevice,{
type Observer;
// Required methods
fn new() -> (Self, Self::Observer);
fn notify(
self,
result: Result<<D as LinkDevice>::Address, AddressResolutionFailed>,
);
}
Expand description
A notifier held by core that can be used to inform interested parties of the result of link address resolution.
Required Associated Types§
Required Methods§
Sourcefn notify(
self,
result: Result<<D as LinkDevice>::Address, AddressResolutionFailed>,
)
fn notify( self, result: Result<<D as LinkDevice>::Address, AddressResolutionFailed>, )
Signal to Bindings that link address resolution has completed for a neighbor.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.