pub struct SyscallArgsFmt<'a, A = NoArg, B = NoArg, C = NoArg, D = NoArg, E = NoArg, F = NoArg> { /* private fields */ }
Expand description
A formatting wrapper for six syscall arguments.
Implementations§
source§impl<'a, A, B, C, D, E, F> SyscallArgsFmt<'a, A, B, C, D, E, F>where
SyscallVal<'a, A>: Display,
SyscallVal<'a, B>: Display,
SyscallVal<'a, C>: Display,
SyscallVal<'a, D>: Display,
SyscallVal<'a, E>: Display,
SyscallVal<'a, F>: Display,
impl<'a, A, B, C, D, E, F> SyscallArgsFmt<'a, A, B, C, D, E, F>where
SyscallVal<'a, A>: Display,
SyscallVal<'a, B>: Display,
SyscallVal<'a, C>: Display,
SyscallVal<'a, D>: Display,
SyscallVal<'a, E>: Display,
SyscallVal<'a, F>: Display,
pub fn new( args: [SyscallReg; 6], options: FmtOptions, mem: &'a MemoryManager, ) -> Self
Trait Implementations§
source§impl<'a, A, B, C, D, E, F> Display for SyscallArgsFmt<'a, A, B, C, D, E, F>where
SyscallVal<'a, A>: Display,
SyscallVal<'a, B>: Display,
SyscallVal<'a, C>: Display,
SyscallVal<'a, D>: Display,
SyscallVal<'a, E>: Display,
SyscallVal<'a, F>: Display,
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
impl<'a, A, B, C, D, E, F> Display for SyscallArgsFmt<'a, A, B, C, D, E, F>where
SyscallVal<'a, A>: Display,
SyscallVal<'a, B>: Display,
SyscallVal<'a, C>: Display,
SyscallVal<'a, D>: Display,
SyscallVal<'a, E>: Display,
SyscallVal<'a, F>: Display,
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
Auto Trait Implementations§
impl<'a, A, B, C, D, E, F> Freeze for SyscallArgsFmt<'a, A, B, C, D, E, F>
impl<'a, A = NoArg, B = NoArg, C = NoArg, D = NoArg, E = NoArg, F = NoArg> !RefUnwindSafe for SyscallArgsFmt<'a, A, B, C, D, E, F>
impl<'a, A = NoArg, B = NoArg, C = NoArg, D = NoArg, E = NoArg, F = NoArg> !Send for SyscallArgsFmt<'a, A, B, C, D, E, F>
impl<'a, A = NoArg, B = NoArg, C = NoArg, D = NoArg, E = NoArg, F = NoArg> !Sync for SyscallArgsFmt<'a, A, B, C, D, E, F>
impl<'a, A, B, C, D, E, F> Unpin for SyscallArgsFmt<'a, A, B, C, D, E, F>
impl<'a, A = NoArg, B = NoArg, C = NoArg, D = NoArg, E = NoArg, F = NoArg> !UnwindSafe for SyscallArgsFmt<'a, A, B, C, D, E, F>
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