netstack3_ip::device

Trait RsHandler

Source
pub trait RsHandler<BC: RsBindingsTypes>: DeviceIdContext<AnyDevice> + TimerHandler<BC, RsTimerId<Self::WeakDeviceId>> {
    // Required methods
    fn start_router_solicitation(
        &mut self,
        bindings_ctx: &mut BC,
        device_id: &Self::DeviceId,
    );
    fn stop_router_solicitation(
        &mut self,
        bindings_ctx: &mut BC,
        device_id: &Self::DeviceId,
    );
}
Expand description

An implementation of Router Solicitation.

Required Methods§

Source

fn start_router_solicitation( &mut self, bindings_ctx: &mut BC, device_id: &Self::DeviceId, )

Starts router solicitation.

Source

fn stop_router_solicitation( &mut self, bindings_ctx: &mut BC, device_id: &Self::DeviceId, )

Stops router solicitation.

Does nothing if router solicitaiton is not being performed

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.

Implementors§

Source§

impl<BC: RsBindingsContext, CC: RsContext<BC>> RsHandler<BC> for CC