pub enum DeleteDeviceError {
AccessDenied(String),
Conflict(String),
InternalServer(String),
ResourceNotFound(String),
Throttling(String),
}
Expand description
Errors returned by DeleteDevice
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
Conflict(String)
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
InternalServer(String)
The request has failed due to an internal error.
ResourceNotFound(String)
The specified resource could not be found.
Throttling(String)
The request was denied due to request throttling.
Implementations§
Source§impl DeleteDeviceError
impl DeleteDeviceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteDeviceError>
Trait Implementations§
Source§impl Debug for DeleteDeviceError
impl Debug for DeleteDeviceError
Source§impl Display for DeleteDeviceError
impl Display for DeleteDeviceError
Source§impl Error for DeleteDeviceError
impl Error for DeleteDeviceError
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 DeleteDeviceError
impl PartialEq for DeleteDeviceError
impl StructuralPartialEq for DeleteDeviceError
Auto Trait Implementations§
impl Freeze for DeleteDeviceError
impl RefUnwindSafe for DeleteDeviceError
impl Send for DeleteDeviceError
impl Sync for DeleteDeviceError
impl Unpin for DeleteDeviceError
impl UnwindSafe for DeleteDeviceError
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