Trait SocketOpsFilterBindingContext

Source
pub trait SocketOpsFilterBindingContext<D>: TxMetadataBindingsTypes{
    // Required method
    fn socket_ops_filter(&self) -> impl SocketOpsFilter<D, Self::TxMetadata>;
}
Expand description

Implemented by bindings to provide socket operations filtering.

Required Methods§

Source

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.

Implementors§