Trait netstack3_ip::FilterHandlerProvider

source ·
pub trait FilterHandlerProvider<I: IpExt, BT: FilterBindingsTypes>: DeviceIdContext<AnyDevice, DeviceId: InterfaceProperties<BT::DeviceClass>> {
    type Handler<'a>: FilterHandler<I, BT, DeviceId = Self::DeviceId>
       where Self: 'a;

    // Required method
    fn filter_handler(&mut self) -> Self::Handler<'_>;
}
Expand description

Abstracts access to a [filter::FilterHandler] for core contexts.

Required Associated Types§

source

type Handler<'a>: FilterHandler<I, BT, DeviceId = Self::DeviceId> where Self: 'a

The filter handler.

Required Methods§

source

fn filter_handler(&mut self) -> Self::Handler<'_>

Gets the filter handler for this context.

Object Safety§

This trait is not object safe.

Implementors§