dope-sys 0.29.1

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
/// Exact native result rejected by an operation's completion contract.
pub trait Returned: Copy + Eq {
    type Value;
    type Invalid;

    fn value(value: Self::Value) -> Self;
    fn error(code: crate::Errno) -> Self;
    fn invalid(invalid: Self::Invalid) -> Self;
}