Skip to main content

Result

Type Alias Result 

pub type Result<T, E = Status> = Result<T, E>;
Available on crate feature ttrpc only.
Expand description

Result type used throughout rama-ttrpc, defaulting the error to Status.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value