Skip to main content

RetainResult

Type Alias RetainResult 

Source
pub type RetainResult<T, X> = Result<T, RetainError<<X as Xml>::Error, <X as Xml>::Id>>;
Expand description

Retention result using the XML owner’s original error and identity types.

Aliased Type§

pub enum RetainResult<T, X> {
    Ok(T),
    Err(RetainError<<X as Xml>::Error, <X as Xml>::Id>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RetainError<<X as Xml>::Error, <X as Xml>::Id>)

Contains the error value