dope-sys 0.35.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{
    io::{reactor::complete, socket::option::tuning},
    memory,
    table::token,
};

/// Host completion types retained by the ring and option-storage owner.
pub trait Context {
    type Map: complete::Map;
    type Observation: Copy + Eq;
    type Selection: Copy + Eq;
    type Token: token::Codec;
    type Layout: memory::raw::Receive;
    type Tuning: tuning::Create + tuning::Quiesce;
}