BodyDownloaderResult

Type Alias BodyDownloaderResult 

Source
pub type BodyDownloaderResult<B> = DownloadResult<Vec<BlockResponse<B>>>;
Expand description

Body downloader return type.

Aliased Type§

pub enum BodyDownloaderResult<B> {
    Ok(Vec<BlockResponse<B>>),
    Err(DownloadError),
}

Variants§

§1.0.0

Ok(Vec<BlockResponse<B>>)

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.