pub enum ListAccountsError {
InvalidRequest(String),
ResourceNotFound(String),
TooManyRequests(String),
Unauthorized(String),
}
Expand description
Errors returned by ListAccounts
Variants§
InvalidRequest(String)
Indicates that a problem occurred with the input to the request. For example, a required parameter might be missing or out of range.
ResourceNotFound(String)
The specified resource doesn't exist.
TooManyRequests(String)
Indicates that the request is being made too frequently and is more than what the server can handle.
Indicates that the request is not authorized. This can happen due to an invalid access token in the request.
Implementations§
Source§impl ListAccountsError
impl ListAccountsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListAccountsError>
Trait Implementations§
Source§impl Debug for ListAccountsError
impl Debug for ListAccountsError
Source§impl Display for ListAccountsError
impl Display for ListAccountsError
Source§impl Error for ListAccountsError
impl Error for ListAccountsError
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()
Source§impl PartialEq for ListAccountsError
impl PartialEq for ListAccountsError
impl StructuralPartialEq for ListAccountsError
Auto Trait Implementations§
impl Freeze for ListAccountsError
impl RefUnwindSafe for ListAccountsError
impl Send for ListAccountsError
impl Sync for ListAccountsError
impl Unpin for ListAccountsError
impl UnwindSafe for ListAccountsError
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