Result

Type Alias Result 

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

Represents HTTP/2 result operation.

This type uses the h2::Error as the error type. This allows functions returning this Result type to propagate errors specific to the h2 library.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value