Result

Type Alias Result 

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

Result type for the blocks library

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(BlocksError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(BlocksError)

Contains the error value