Skip to main content

dope_sys/memory/buffer/
access.rs

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