pub struct SyscallResultFmt<'a, RV>{ /* private fields */ }
Expand description
A formatting wrapper for the syscall result.
Implementations§
source§impl<'a, RV> SyscallResultFmt<'a, RV>
impl<'a, RV> SyscallResultFmt<'a, RV>
pub fn new( rv: &'a SyscallResult, args: [SyscallReg; 6], options: FmtOptions, mem: &'a MemoryManager, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a, RV> Freeze for SyscallResultFmt<'a, RV>
impl<'a, RV> !RefUnwindSafe for SyscallResultFmt<'a, RV>
impl<'a, RV> !Send for SyscallResultFmt<'a, RV>
impl<'a, RV> !Sync for SyscallResultFmt<'a, RV>
impl<'a, RV> Unpin for SyscallResultFmt<'a, RV>where
RV: Unpin,
impl<'a, RV> !UnwindSafe for SyscallResultFmt<'a, RV>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more