dope-core 0.77.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
18
use std::pin::Pin;

use crate::executor;

/// # Safety
/// Issue views only from this exact installed root, bounded by its exclusive borrow.
pub unsafe trait Project<'d>: executor::raw::App<'d> {
    type View<'step>
    where
        Self: 'step,
        'd: 'step;

    /// # Safety
    /// Borrow the installed root exclusively for this admitted control step.
    unsafe fn root<'step>(owner: Pin<&'step mut Self>) -> Self::View<'step>
    where
        'd: 'step;
}