pub enum DeleteSubscriptionError {
InternalError(String),
LockedSubscription(String),
ResourceNotFound(String),
}
Expand description
Errors returned by DeleteSubscription
Variants§
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
LockedSubscription(String)
You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the AutoRenew
parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change AutoRenew
prior to that period.
ResourceNotFound(String)
Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
Implementations§
Source§impl DeleteSubscriptionError
impl DeleteSubscriptionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteSubscriptionError>
Trait Implementations§
Source§impl Debug for DeleteSubscriptionError
impl Debug for DeleteSubscriptionError
Source§impl Display for DeleteSubscriptionError
impl Display for DeleteSubscriptionError
Source§impl Error for DeleteSubscriptionError
impl Error for DeleteSubscriptionError
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 DeleteSubscriptionError
impl PartialEq for DeleteSubscriptionError
impl StructuralPartialEq for DeleteSubscriptionError
Auto Trait Implementations§
impl Freeze for DeleteSubscriptionError
impl RefUnwindSafe for DeleteSubscriptionError
impl Send for DeleteSubscriptionError
impl Sync for DeleteSubscriptionError
impl Unpin for DeleteSubscriptionError
impl UnwindSafe for DeleteSubscriptionError
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