#[repr(u32)]
pub enum SyscallReturnVariant {
    Failure,
    FailureU32,
    FailureU32U32,
    FailureU64,
    Success,
    SuccessU32,
    SuccessU32U32,
    SuccessU64,
    SuccessU32U32U32,
    SuccessU64U32,
}
Expand description

Enumeration of the system call return type variant identifiers described in TRD104.

Each variant is associated with the respective variant identifier that would be passed along with the return value to userspace.

Variants

Failure

FailureU32

FailureU32U32

FailureU64

Success

SuccessU32

SuccessU32U32

SuccessU64

SuccessU32U32U32

SuccessU64U32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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

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.