Type Alias napi_h::ContextlessResult

source ·
pub type ContextlessResult<T> = Result<Option<T>>;

Aliased Type§

enum ContextlessResult<T> {
    Ok(Option<T>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Option<T>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value