dope-sys 0.24.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
use crate::io::socket;

/// Constructs a native event with its exact outbound descriptor ownership.
pub trait Create<O, H> {
    type Key;
    type Output;
    fn created(key: Self::Key, slot: O, result: Result<H, socket::Create>) -> Self::Output;
}