pub enum ListContactsError {
BadRequest(String),
NotFound(String),
TooManyRequests(String),
}Expand description
Errors returned by ListContacts
Variants§
BadRequest(String)
The input you provided is invalid.
NotFound(String)
The resource you attempted to access doesn't exist.
TooManyRequests(String)
Too many requests have been made to the operation.
Implementations§
Source§impl ListContactsError
impl ListContactsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListContactsError>
Trait Implementations§
Source§impl Debug for ListContactsError
impl Debug for ListContactsError
Source§impl Display for ListContactsError
impl Display for ListContactsError
Source§impl Error for ListContactsError
impl Error for ListContactsError
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 ListContactsError
impl PartialEq for ListContactsError
impl StructuralPartialEq for ListContactsError
Auto Trait Implementations§
impl Freeze for ListContactsError
impl RefUnwindSafe for ListContactsError
impl Send for ListContactsError
impl Sync for ListContactsError
impl Unpin for ListContactsError
impl UnwindSafe for ListContactsError
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