Skip to main content

BindingResult

Type Alias BindingResult 

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

A binding result with the adapter’s opaque original error and node provenance.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value