dope-sys 0.37.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::table::change;

pub trait Interest {
    type Id: change::Id;
    type Data: Copy;

    fn id(&self) -> Self::Id;
    fn arm(self, flags: u16, data: Self::Data);
    fn delete(self);
    fn discard(self);
}