pub trait Attach: Sized {
// Required methods
fn try_attach(&self, socket: BorrowedFd<'_>) -> Result<(), Error>;
fn try_filter(
&mut self,
key: Index,
socket: BorrowedFd<'_>,
) -> Result<(), Error>;
}Expand description
Installs selection and per-socket admission for one routed group.
Required Methods§
fn try_attach(&self, socket: BorrowedFd<'_>) -> Result<(), Error>
fn try_filter( &mut self, key: Index, socket: BorrowedFd<'_>, ) -> Result<(), Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".