Type Alias object::read::Result

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

The result type used within the read module.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<T> ReadError<T> for Result<T, Error>

source§

fn read_error(self, error: &'static str) -> Result<T>