Skip to main content

dope_sys/engine/ring/
context.rs

1use crate::{
2    io::{reactor::complete, socket::option::tuning},
3    memory,
4    table::token,
5};
6
7/// Host completion types retained by the ring and option-storage owner.
8pub trait Context {
9    type Map: complete::Map;
10    type Observation: Copy + Eq;
11    type Selection: Copy + Eq;
12    type Token: token::Codec;
13    type Layout: memory::raw::Receive;
14    type Tuning: tuning::Create + tuning::Quiesce;
15}