Type Alias fml::FmlResult

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

Result Type

Aliased Type§

enum FmlResult<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> From<ApiResponse<T>> for FmlResult<T>

source§

fn from(response: ApiResponse<T>) -> Self

Converts to this type from the input type.