Type Alias BodyDownloaderResult
pub type BodyDownloaderResult<B> = Result<Vec<BlockResponse<B>>, DownloadError>;
Expand description
Body downloader return type.
Aliased Type§
pub enum BodyDownloaderResult<B> {
Ok(Vec<BlockResponse<B>>),
Err(DownloadError),
}
Variants§
Ok(Vec<BlockResponse<B>>)
Contains the success value
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.