Skip to main content

SyscallResult

Type Alias SyscallResult 

Source
pub type SyscallResult<T> = Result<T, SyscallError>;
Expand description

Wrapper type for Result<T, SyscallError>

Aliased Type§

pub enum SyscallResult<T> {
    Ok(T),
    Err(SyscallError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SyscallError)

Contains the error value