pam_client2

Type Alias ExtResult

source
pub type ExtResult<T, P> = Result<T, ErrorWith<P>>;
Expand description

Type alias for the result of PAM methods that pass back a consumed struct on error.

Aliased Type§

enum ExtResult<T, P> {
    Ok(T),
    Err(ErrorWith<P>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ErrorWith<P>)

Contains the error value