dope-sys 0.20.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use o3::depot;

/// Exact eight-byte identity accepted from every kernel bit pattern.
///
/// # Safety
/// The type has no padding, is eight bytes, and admits every bit pattern.
pub unsafe trait Token: Copy + Eq {}

/// One immutable bounded completion queue capacity.
/// # Safety
/// Every copy retains the original Count proof.
pub unsafe trait Capacity: depot::raw::Count {}