dope-sys 0.43.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{
    Errno,
    engine::admit::Context,
    io::{request, socket::option},
};

/// Applies readiness options while retaining the reserved submission cell.
pub trait Options<C: Context> {
    fn set<O: option::Cursor>(
        &self,
        target: <C::Inputs as request::Context>::Target,
        options: Option<O>,
    ) -> Result<(), Errno>;
}