Skip to main content

ReferenceKeyResult

Type Alias ReferenceKeyResult 

Source
pub type ReferenceKeyResult<X, E> = BinaryResult<Option<LocatedValue<ResponderMatch, X>>, X, ResponderKeyError<CallbackError<E>>>;
Expand description

Original XML enclosure and shared/provider failure for a responder-key query.

Aliased Type§

pub enum ReferenceKeyResult<X, E> {
    Ok(Option<Located<ResponderMatch, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>>),
    Err(Error<<X as Xml>::Error, ResponderKeyError<CallbackError<E>>, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>),
}

Variants§

§1.0.0

Ok(Option<Located<ResponderMatch, <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, ResponderKeyError<CallbackError<E>>, <X as Xml>::Id, <X as Xml>::Document, <X as Xml>::Generation>)

Contains the error value