Enum steam_mobile::errors::AuthError [−][src]
pub enum AuthError {
AuthenticatorError(LinkerError),
ApiKeyError(ApiKeyError),
Login(LoginError),
HttpError(Error),
}Expand description
Main error type that SteamAuthenticator uses.
If an internal error occurs, it simply delegates to the correct error type. Generally, this isn’t a good strategy, but 90% of the errors happen because of a misconfiguration, they are not recoverable and we choose to just fail fast.
For a general explanation of EResults, check: https://steamerrors.com/
Variants
AuthenticatorError(LinkerError)Tuple Fields of AuthenticatorError
0: LinkerErrorApiKeyError(ApiKeyError)Tuple Fields of ApiKeyError
0: ApiKeyErrorLogin(LoginError)Tuple Fields of Login
0: LoginErrorHttpError(Error)Tuple Fields of HttpError
0: ErrorTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AuthError
impl !UnwindSafe for AuthError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more