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§
Required Methods§
sourcefn filter_handler(&mut self) -> Self::Handler<'_>
fn filter_handler(&mut self) -> Self::Handler<'_>
Gets the filter handler for this context.
Object Safety§
This trait is not object safe.