Type Alias AuthenticationResult

Source
pub type AuthenticationResult<T> = Result<T, AuthenticationError>;

Aliased Type§

pub enum AuthenticationResult<T> {
    Ok(T),
    Err(AuthenticationError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AuthenticationError)

Contains the error value