dope-sys 0.39.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::num;

use crate::{
    io::reactor::ready::{
        Failure, Poll,
        store::{Context, State},
    },
    table,
};

pub trait Source: table::Source {
    const LANES: num::NonZero<u8>;

    type State<C: Context>: State<C>;
    type Poll<S: table::raw::Slots, F: Failure<Index = S::Index, Missing = S::Missing>>: Poll<S, Failure = F, Files = Self::Files<S>>;
}