dope-sys 0.31.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
use crate::ring::{layout::Layout, map::Map};

/// The original ring failure, independent of subsequent cleanup failures.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Cause<S, M> {
    Setup(S),
    Layout(Layout),
    Map(Map<M>),
}