pub enum Stage {
Path,
In {
len: Len,
max: usize,
too_big: i32,
},
Out(Len, Produced),
}Expand description
How one argument is staged in the mailbox.
Variants§
Path
A NUL-terminated string, copied into a PATH_AREA.
In
A buffer the call reads, copied in. Longer than max bytes, the call
fails with too_big without being made, as the kernel would fail it.
Out(Len, Produced)
A buffer the call writes, copied back once it returns.
Trait Implementations§
impl Copy for Stage
impl Eq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations§
impl Freeze for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnsafeUnpin for Stage
impl UnwindSafe for Stage
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