pub trait Access<Root, Exhausted> {
type Capacity;
// Required methods
fn owners(&self) -> Root;
fn buffer_len(&self) -> Self::Capacity;
fn release(&self);
fn try_exhaust(&self) -> Option<Exhausted>;
}Expand description
Keeps receive issuance and release notifications in their original driver.
Required Associated Types§
Required Methods§
fn owners(&self) -> Root
fn buffer_len(&self) -> Self::Capacity
fn release(&self)
fn try_exhaust(&self) -> Option<Exhausted>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".