pub trait Table<E: Copy, const N: usize>: Create + Quiesce {
type State: State<E, N>;
type Occupied<'a>: Occupied<E>
where Self: 'a;
// Required methods
fn bind(&mut self, index: u32) -> Result<Self::Occupied<'_>, Missing>;
fn get(&mut self, index: u32) -> Option<Pin<&mut Self::State>>;
fn retry_cancel(&mut self, index: u32);
}Expand description
Address-stable option states indexed by physical descriptor slots.
Required Associated Types§
Required Methods§
fn bind(&mut self, index: u32) -> Result<Self::Occupied<'_>, Missing>
fn get(&mut self, index: u32) -> Option<Pin<&mut Self::State>>
Sourcefn retry_cancel(&mut self, index: u32)
fn retry_cancel(&mut self, index: u32)
Makes a failed cancellation retryable without releasing its chain. A late reply may only permit another attempt; it cannot clear a target.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".