Trait netstack3_ip::nud::LinkResolutionNotifier
source · pub trait LinkResolutionNotifier<D: LinkDevice>: Debug + Sized + Send {
type Observer;
// Required methods
fn new() -> (Self, Self::Observer);
fn notify(self, result: Result<D::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::Address, AddressResolutionFailed>)
fn notify(self, result: Result<D::Address, AddressResolutionFailed>)
Signal to Bindings that link address resolution has completed for a neighbor.
Object Safety§
This trait is not object safe.