reth_network_p2p::error

Type Alias DownloadResult

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

The download result type

Aliased Type§

enum DownloadResult<T> {
    Ok(T),
    Err(DownloadError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DownloadError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.