Skip to main content

HeaderResult

Type Alias HeaderResult 

Source
pub type HeaderResult<T, E = HeaderError> = Result<T, E>;
Available on crate feature p2 only.
Expand description

A Result type where the error type defaults to HeaderError.

Aliased Type§

pub enum HeaderResult<T, E = HeaderError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value