Skip to main content

CoverageResult

Type Alias CoverageResult 

Source
pub type CoverageResult<E> = Result<Resolution<IndexCoverage>, DigestError<E>>;
Expand description

Result of matching an index, or the provider’s answer that it cannot hash with the index algorithm.

Aliased Type§

pub enum CoverageResult<E> {
    Ok(Resolution<IndexCoverage>),
    Err(DigestError<E>),
}

Variants§

§1.0.0

Ok(Resolution<IndexCoverage>)

Contains the success value

§1.0.0

Err(DigestError<E>)

Contains the error value