hopr_transport::errors

Type Alias Result

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

Result produced by the crate, uses the HoprTransportError as the error type.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HoprTransportError)

Contains the error value