dope-sys 0.78.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod context;
mod create;
mod event;
mod source;

pub use context::Context;
pub use create::Create;
pub use event::Event;
pub use source::Source;

use crate::{io::reactor::read, table};

type Key<C> = <<C as Context>::Reader as read::Context>::Key;
type Flow<C> = <<C as Context>::Reader as read::Context>::Flow;
type Slots<C> = <<C as Context>::Reader as read::Context>::Slots;
type Accepted<C> = <Slots<C> as table::raw::Slots>::Accepted;

type Owned<C> = <Slots<C> as table::raw::Slots>::Owned;