pub type InfallibleFormatError<S> = ChiselError<Infallible, <S as ChiselSource>::Error>;Expand description
The error type of attempting to chisel a value from a source S; where all byte sequences produce valid values (“infallible format”).
Because the format is infallible, this never contains a ChiselErrorData::Format.
Aliased Type§
pub struct InfallibleFormatError<S> {
pub offset: usize,
pub error: ChiselErrorData<Infallible, <S as ChiselSource>::Error>,
}Fields§
§offset: usizeThe byte offset that the error occurred at.
This is the offset of the beginning of the erroring operation or item.
error: ChiselErrorData<Infallible, <S as ChiselSource>::Error>The error data itself.