pub trait Select {
type Index: Copy;
type Pending: Token<Index = Self::Index> + Pending<Complete: Token<Index = Self::Index, Length = <<Self::Pending as Pending>::Extent as Extent>::Length>>;
// Required method
unsafe fn select(
&self,
index: Self::Index,
) -> Result<Self::Pending, Self::Index>;
}Expand description
A unique completion transfers one selected slot from its original ring.
Required Associated Types§
type Index: Copy
type Pending: Token<Index = Self::Index> + Pending<Complete: Token<Index = Self::Index, Length = <<Self::Pending as Pending>::Extent as Extent>::Length>>
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".