forc_debug::types

Type Alias DynResult

Source
pub type DynResult<T> = Result<T, Box<dyn Error>>;

Aliased Type§

enum DynResult<T> {
    Ok(T),
    Err(Box<dyn Error>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value