pub(crate) enum Outcome {
Value(Result<i64, i32>),
Fd {
fd: i32,
cloexec: bool,
},
Continue,
Replied,
}Expand description
How a handler wants the notification answered.
Variants§
Value(Result<i64, i32>)
Plain return value or errno.
Fd
Install this supervisor descriptor into the tracee and return its number.
Continue
Let the kernel run the syscall untouched.
Replied
The handler answered the notification itself.
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more