dope-sys 0.31.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
/// Typed inputs whose authority is preserved during native request lowering.
pub trait Context {
    type Target: Copy + Into<[u8; 3]>;
    type Outbound: Copy + Into<[u8; 3]>;
    type Datagram<'d>;

    fn datagram<'d>(fd: &Self::Datagram<'d>) -> Self::Target;
}