pub trait FilterHandlerProvider<I: IpExt, BT: FilterBindingsTypes>: IpDeviceAddressIdContext<I, DeviceId: InterfaceProperties<BT::DeviceClass>> {
type Handler<'a>: FilterHandler<I, BT, DeviceId = Self::DeviceId, WeakAddressId = Self::WeakAddressId>
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§
Sourcetype Handler<'a>: FilterHandler<I, BT, DeviceId = Self::DeviceId, WeakAddressId = Self::WeakAddressId>
where
Self: 'a
type Handler<'a>: FilterHandler<I, BT, DeviceId = Self::DeviceId, WeakAddressId = Self::WeakAddressId> where Self: 'a
The filter handler.
Required Methods§
Sourcefn filter_handler(&mut self) -> Self::Handler<'_>
fn filter_handler(&mut self) -> Self::Handler<'_>
Gets the filter handler for this context.
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.