Skip to main content

KResult

Type Alias KResult 

Source
pub type KResult<T> = Result<T, KernelError>;
Expand description

Result alias every kernel function returns; the error is always a KernelError.

Aliased Type§

pub enum KResult<T> {
    Ok(T),
    Err(KernelError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(KernelError)

Contains the error value