Skip to main content

Access

Trait Access 

Source
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§

Source

fn owners(&self) -> Root

Source

fn buffer_len(&self) -> Self::Capacity

Source

fn release(&self)

Source

fn try_exhaust(&self) -> Option<Exhausted>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§