Type Alias darkfi_sdk::error::DarkTreeResult

source ·
pub type DarkTreeResult<T> = Result<T, DarkTreeError>;
Expand description

Main result type used by DarkTree.

Aliased Type§

enum DarkTreeResult<T> {
    Ok(T),
    Err(DarkTreeError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DarkTreeError)

Contains the error value