pub trait SocketOpsFilterBindingContext<D>: TxMetadataBindingsTypeswhere
D: StrongDeviceIdentifier,{
// Required method
fn socket_ops_filter(&self) -> impl SocketOpsFilter<D, Self::TxMetadata>;
}
Expand description
Implemented by bindings to provide socket operations filtering.
Required Methods§
Sourcefn socket_ops_filter(&self) -> impl SocketOpsFilter<D, Self::TxMetadata>
fn socket_ops_filter(&self) -> impl SocketOpsFilter<D, Self::TxMetadata>
Returns the filter that should be called for socket ops.
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.