cargo_auto_lib

Type Alias ResultWithLibError

Source
pub type ResultWithLibError<T, E = LibError> = Result<T, E>;
Expand description

Result type with fixed LibError using thiserror.

It makes simpler to write returns from functions.
Result type alias with fixed LibError using thiserror

It makes simpler to write returns from functions.

Aliased Type§

enum ResultWithLibError<T, E = LibError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value