pub enum CreateDeviceError {
AccessDenied(String),
Conflict(String),
InternalServer(String),
ResourceNotFound(String),
ServiceQuotaExceeded(String),
Throttling(String),
}
Expand description
Errors returned by CreateDevice
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.
ServiceQuotaExceeded(String)
A service limit was exceeded.
Throttling(String)
The request was denied due to request throttling.
Implementations§
Source§impl CreateDeviceError
impl CreateDeviceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateDeviceError>
Trait Implementations§
Source§impl Debug for CreateDeviceError
impl Debug for CreateDeviceError
Source§impl Display for CreateDeviceError
impl Display for CreateDeviceError
Source§impl Error for CreateDeviceError
impl Error for CreateDeviceError
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 CreateDeviceError
impl PartialEq for CreateDeviceError
impl StructuralPartialEq for CreateDeviceError
Auto Trait Implementations§
impl Freeze for CreateDeviceError
impl RefUnwindSafe for CreateDeviceError
impl Send for CreateDeviceError
impl Sync for CreateDeviceError
impl Unpin for CreateDeviceError
impl UnwindSafe for CreateDeviceError
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