binread

Type Alias BinResult

source
pub type BinResult<T> = Result<T, Error>;
Expand description

A Result for any binread function that can return an error

Aliased Type§

enum BinResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value