Skip to main content

PathDigestResult

Type Alias PathDigestResult 

Source
pub type PathDigestResult<'view, 'document, X, PE> = BinaryResult<PathDigests<'view, 'document, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>, X, DigestError<PE>>;
Expand description

Path-digest result using the XML owner’s original source/error identities.

Aliased Type§

pub enum PathDigestResult<'view, 'document, X, PE> {
    Ok(PathDigests<'view, 'document, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>),
    Err(Error<<X as Xml>::Error, DigestError<PE>, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>),
}

Variants§

§1.0.0

Ok(PathDigests<'view, 'document, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>)

Contains the success value

§1.0.0

Err(Error<<X as Xml>::Error, DigestError<PE>, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>)

Contains the error value