Skip to main content

FormatResult

Type Alias FormatResult 

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

Source-aware result using the XML owner’s original error/identity types.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value