InfallibleFormatResult

Type Alias InfallibleFormatResult 

Source
pub type InfallibleFormatResult<T, S> = Result<T, InfallibleFormatError<S>>;
Expand description

The error type of attempting to chisel a T from a source S. All byte sequences produce valid Ts (“infallible format”).

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value