darkfi_sdk::error

Type Alias 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