1 2 3 4 5 6 7 8 9
/// Keeps receive issuance and release notifications in their original driver. pub trait Access<Root, Exhausted> { type Capacity; fn owners(&self) -> Root; fn buffer_len(&self) -> Self::Capacity; fn release(&self); fn try_exhaust(&self) -> Option<Exhausted>; }