Type Alias binary_utils::Result

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

A type alias for std::result::Result with the error type set to Error.

This type is commonly used throughout the codebase to represent the result of operations that may fail, where T represents the success value and Error represents the type of error.

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