Skip to main content

DigestResult

Type Alias DigestResult 

Source
pub type DigestResult<T> = Result<T, DigestError>;
Expand description

A type alias for the result from the creation of a Digest, with DigestError returned in Err variants.

Aliased Type§

pub enum DigestResult<T> {
    Ok(T),
    Err(DigestError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DigestError)

Contains the error value