ChiselResult

Type Alias ChiselResult 

Source
pub type ChiselResult<T, E, S> = Result<T, ChiselError<E, <S as ChiselSource>::Error>>;
Expand description

The result type of attempting to chisel a T from a source S, with format errors described by E.

Aliased Type§

pub enum ChiselResult<T, E, S> {
    Ok(T),
    Err(ChiselError<E, <S as ChiselSource>::Error>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ChiselError<E, <S as ChiselSource>::Error>)

Contains the error value