Type Alias proton_client::prelude::Result

source ·
pub type Result<T, E = ProtonClientError> = Result<T, E>;
Expand description

Alias for Result type with predefined ProtonClientError error type

Aliased Type§

enum Result<T, E = ProtonClientError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value