pub trait Poll<'a, T: Token>: Sized {
type Entry;
// Required methods
fn new(source: Source<'a>, token: T) -> Self;
fn multi(file: BorrowedFd<'a>, token: T) -> Self;
fn entry(&self) -> &Self::Entry;
}Expand description
A shutdown poll retaining the exact source descriptor and thread affinity.
Required Associated Types§
Required Methods§
fn new(source: Source<'a>, token: T) -> Self
fn multi(file: BorrowedFd<'a>, token: T) -> Self
fn entry(&self) -> &Self::Entry
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".