pub trait Source: Source + Sized {
type Decoded<T: Copy, E>: Map<Parts = Parts<T, <Self::Entry<T> as Entry>::Outcome, <Self::Entry<T> as Entry>::Flags>, Fault = E>;
type Ready<T: Token, L: Receive>: Ready<Ring = Self::Ring<T>, Token = T, Layout = L, Context = <Self as Source>::Context<L>, Producer = <Self as Source>::Producer<L>, Pending = <Self as Source>::Pending<L::Extent>, Index = <Self as Source>::Index, Entry = <Self as Source>::Entry<T>> + Create
where Self: Source;
type Poll: Copy + Eq;
type Entry<T>: Entry<Token = T, Outcome: Outcome<Returned = Self::Returned>>;
type Packet<T: Copy, B>: Packet<Parts = Parts<T, <Self::Entry<T> as Entry>::Outcome, <Self::Entry<T> as Entry>::Flags>, Buffer = B>;
type Message<'a, const NAME: usize, const CONTROL: usize>: Output<'a>;
type Enter<'a, T: 'a>: Enter;
type Ring<T: Token>: Create + Owner<Token = T> + Prepare + Inspect<Code = Self::Code> + Complete<Entry = Self::Entry<T>>;
}Expand description
Native ring ownership specialized to the caller’s completion token.
Required Associated Types§
type Decoded<T: Copy, E>: Map<Parts = Parts<T, <Self::Entry<T> as Entry>::Outcome, <Self::Entry<T> as Entry>::Flags>, Fault = E>
type Ready<T: Token, L: Receive>: Ready<Ring = Self::Ring<T>, Token = T, Layout = L, Context = <Self as Source>::Context<L>, Producer = <Self as Source>::Producer<L>, Pending = <Self as Source>::Pending<L::Extent>, Index = <Self as Source>::Index, Entry = <Self as Source>::Entry<T>> + Createwhere
Self: Source,
type Poll: Copy + Eq
type Entry<T>: Entry<Token = T, Outcome: Outcome<Returned = Self::Returned>>
type Packet<T: Copy, B>: Packet<Parts = Parts<T, <Self::Entry<T> as Entry>::Outcome, <Self::Entry<T> as Entry>::Flags>, Buffer = B>
type Message<'a, const NAME: usize, const CONTROL: usize>: Output<'a>
type Enter<'a, T: 'a>: Enter
type Ring<T: Token>: Create + Owner<Token = T> + Prepare + Inspect<Code = Self::Code> + Complete<Entry = Self::Entry<T>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".