pub enum GetUpgradeStatusError {
Base(String),
DisabledOperation(String),
Internal(String),
ResourceNotFound(String),
}Expand description
Errors returned by GetUpgradeStatus
Variants§
Base(String)
An error occurred while processing the request.
DisabledOperation(String)
An error occured because the client wanted to access a not supported operation. Gives http status code of 409.
Internal(String)
The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
ResourceNotFound(String)
An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
Implementations§
Source§impl GetUpgradeStatusError
impl GetUpgradeStatusError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetUpgradeStatusError>
Trait Implementations§
Source§impl Debug for GetUpgradeStatusError
impl Debug for GetUpgradeStatusError
Source§impl Display for GetUpgradeStatusError
impl Display for GetUpgradeStatusError
Source§impl Error for GetUpgradeStatusError
impl Error for GetUpgradeStatusError
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 GetUpgradeStatusError
impl PartialEq for GetUpgradeStatusError
impl StructuralPartialEq for GetUpgradeStatusError
Auto Trait Implementations§
impl Freeze for GetUpgradeStatusError
impl RefUnwindSafe for GetUpgradeStatusError
impl Send for GetUpgradeStatusError
impl Sync for GetUpgradeStatusError
impl Unpin for GetUpgradeStatusError
impl UnwindSafe for GetUpgradeStatusError
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