Type Alias Result

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

A convenient type alias for Result with LastFmError as the error type.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LastFmError)

Contains the error value