pub enum ListProjectsError {
BadRequest(String),
InternalFailure(String),
ServiceUnavailable(String),
TooManyRequests(String),
Unauthorized(String),
}
Expand description
Errors returned by ListProjects
Variants§
BadRequest(String)
The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
InternalFailure(String)
The service has encountered an unexpected error condition which prevents it from servicing the request.
The service is temporarily unavailable. The request should be retried after some time delay.
TooManyRequests(String)
Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
Credentials of the caller are insufficient to authorize the request.
Implementations§
Source§impl ListProjectsError
impl ListProjectsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListProjectsError>
Trait Implementations§
Source§impl Debug for ListProjectsError
impl Debug for ListProjectsError
Source§impl Display for ListProjectsError
impl Display for ListProjectsError
Source§impl Error for ListProjectsError
impl Error for ListProjectsError
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 ListProjectsError
impl PartialEq for ListProjectsError
impl StructuralPartialEq for ListProjectsError
Auto Trait Implementations§
impl Freeze for ListProjectsError
impl RefUnwindSafe for ListProjectsError
impl Send for ListProjectsError
impl Sync for ListProjectsError
impl Unpin for ListProjectsError
impl UnwindSafe for ListProjectsError
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