dope-sys 0.26.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
use std::os::fd;

/// Installs an owned descriptor in its reserved native table slot.
pub trait Install<O> {
    type Handle: fd::AsFd;
    type Error;

    fn install(&mut self, slot: O, handle: Self::Handle) -> Result<(), Self::Error>;
}