forge::inspectors::cheatcodes

Type Alias Result

Source
pub type Result<T = Vec<u8>, E = Error> = Result<T, E>;
Expand description

Cheatcode result type.

Type alias with a default Ok type of Vec<u8>, and default Err type of Error.

Aliased Type§

enum Result<T = Vec<u8>, E = Error> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.