dope-sys 0.30.1

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::table::reclaim::{Item, Kind};

/// The owning descriptor domain commits only consumed retirement authority.
pub trait View: Sized {
    type Slot;
    type Flight;
    type Close: Item<Slot = Self::Slot, Flight = Self::Flight>;
    type Retire: Item<Slot = Self::Slot, Flight = Self::Flight>;

    fn submitted(&self, flight: Self::Flight);
    fn commit(self, item: Kind<Self::Close, Self::Retire>);
}