pub type PamResult<T> = Result<T, PamResultCode>;
enum PamResult<T> { Ok(T), Err(PamResultCode), }
Contains the success value
Contains the error value