pub type ExtResult<T, P> = Result<T, ErrorWith<P>>;
Type alias for the result of PAM methods that pass back a consumed struct on error.
pub enum ExtResult<T, P> { Ok(T), Err(ErrorWith<P>), }
Contains the success value
Contains the error value