Type Alias FmlResult

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

Result Type

Aliased Type§

pub 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.