Type Alias ReadResult

Source
pub type ReadResult<T, E = BitError> = Result<T, E>;
Expand description

Either the read bits in the requested format or a BitError

Aliased Type§

pub enum ReadResult<T, E = BitError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value