pub enum DeleteAssetError {
AccessDenied(String),
Conflict(String),
InternalServer(String),
ResourceNotFound(String),
Throttling(String),
}Expand description
Errors returned by DeleteAsset
Variants§
AccessDenied(String)
Access to the resource is denied.
Conflict(String)
The request couldn't be completed because it conflicted with the current state of the resource.
InternalServer(String)
An exception occurred with the service.
ResourceNotFound(String)
The resource couldn't be found.
Throttling(String)
The limit on the number of requests per second was exceeded.
Implementations§
Source§impl DeleteAssetError
impl DeleteAssetError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteAssetError>
Trait Implementations§
Source§impl Debug for DeleteAssetError
impl Debug for DeleteAssetError
Source§impl Display for DeleteAssetError
impl Display for DeleteAssetError
Source§impl Error for DeleteAssetError
impl Error for DeleteAssetError
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 DeleteAssetError
impl PartialEq for DeleteAssetError
impl StructuralPartialEq for DeleteAssetError
Auto Trait Implementations§
impl Freeze for DeleteAssetError
impl RefUnwindSafe for DeleteAssetError
impl Send for DeleteAssetError
impl Sync for DeleteAssetError
impl Unpin for DeleteAssetError
impl UnwindSafe for DeleteAssetError
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