dope-core 0.75.0

Owned native I/O and completion driver for dope
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use dope_sys::engine::admit;

use crate::driver::{result::poll, retained::flight};

pub enum Outcome {
    Submitted,
    Queued,
    Completed,
    Deferred,
}

/// Exact rejection of the selected flight before native cancellation commitment.
pub type Failure =
    <crate::Backend as admit::Native>::Error<(flight::raw::Echo, admit::Cause<poll::Cause>)>;

/// Capacity and native-state failures retain different recovery requirements.
pub type Error = admit::Error<Failure>;