referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_node_subsystem::SubsystemResult

source ·
pub type SubsystemResult<T> = Result<T, SubsystemError>;
Expand description

A Result type that wraps SubsystemError.

Aliased Type§

enum SubsystemResult<T> {
    Ok(T),
    Err(SubsystemError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SubsystemError)

Contains the error value