pub enum AuthenticationError {
ParameterValidationFailed,
InvalidAPIKey,
NotAllowed,
ServerError,
ConnectionError(String),
}
Expand description
Errors that may be returned in creating an IAM access token for a user or service ID using an API key
Variants§
ParameterValidationFailed
Parameter validation failed. Response if required parameters are missing or if parameter values are invalid.
InvalidAPIKey
The incoming request did not contain a valid authentication information.
NotAllowed
The incoming request is valid but the user is not allowed to perform the requested action.
ServerError
Internal Server error. Response if unexpected error situation happened.
ConnectionError(String)
Network Error
Trait Implementations§
Source§impl Debug for AuthenticationError
impl Debug for AuthenticationError
Source§impl Display for AuthenticationError
impl Display for AuthenticationError
Source§impl Error for AuthenticationError
impl Error for AuthenticationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AuthenticationError
impl RefUnwindSafe for AuthenticationError
impl Send for AuthenticationError
impl Sync for AuthenticationError
impl Unpin for AuthenticationError
impl UnwindSafe for AuthenticationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more