pub type AuthResult<T> = Result<T, AuthError>;
认证结果类型别名
pub enum AuthResult<T> { Ok(T), Err(AuthError), }
Contains the success value
Contains the error value