dope-sys 0.33.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::probe::{
    Stopped,
    session::{Empty, Failure, Session, Stage},
};

pub trait Direct: Session {
    type Empty: Empty<Direct = Self>;

    fn option(self, probe: Self::Probe) -> Result<Self, Stopped<Stage<Self>, Failure<Self>>>;
    fn close(self, probe: Self::Probe) -> Result<Self::Empty, Stopped<Self, Failure<Self>>>;
}