sp_wasm_interface

Type Alias Result

source
pub type Result<T> = Result<T, String>;
Expand description

Result type used by traits in this crate.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(String)

Contains the error value