dope-core 0.15.0

The manifold runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::mem;

/// Linear proof that a driver scope will be quiesced before release.
#[doc(hidden)]
pub struct Owner {
    _private: (),
}

const _: () = assert!(mem::size_of::<Owner>() == 0);

impl Owner {
    /// # Safety
    /// Every retained source must outlive completion or synchronous quiescence.
    pub unsafe fn new() -> Self {
        Self { _private: () }
    }
}