Skip to main content

ContainerResult

Type Alias ContainerResult 

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

A structural result retaining the original XML cause and node location.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value