pub struct Nanosleep<'a> {
    pub req: &'a timespec,
    pub rem: Option<&'a mut timespec>,
}

Fields

req: &'a timespecrem: Option<&'a mut timespec>

Trait Implementations

Syscall number. Read more

The syscall argument vector. Read more

Syscall return value. Read more

Opaque staged value, which returns Self::Committed when committed via Commit::commit. Read more

Value syscall collects as, which corresponds to its return value. Read more

Allocate dynamic data, if necessary and return resulting argument vector registers and opaque staged value on success. Read more

Collect the return registers, opaque committed value and return a Self::Collected. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Opaque staged value, which returns Self::Committed when committed via Commit::commit. Read more

Opaque committed value returned by Commit::commit called upon Self::Staged, which is, in turn, passed to Collect::collect to yield a Self::Collected. Read more

Value call collects as. Read more

Allocate data, if necessary and return resulting opaque staged value on success.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.