pub enum CreateSubscriptionError {
InternalError(String),
ResourceAlreadyExists(String),
}
Expand description
Errors returned by CreateSubscription
Variants§
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
ResourceAlreadyExists(String)
Exception indicating the specified resource already exists.
Implementations§
Source§impl CreateSubscriptionError
impl CreateSubscriptionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateSubscriptionError>
Trait Implementations§
Source§impl Debug for CreateSubscriptionError
impl Debug for CreateSubscriptionError
Source§impl Display for CreateSubscriptionError
impl Display for CreateSubscriptionError
Source§impl Error for CreateSubscriptionError
impl Error for CreateSubscriptionError
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 CreateSubscriptionError
impl PartialEq for CreateSubscriptionError
impl StructuralPartialEq for CreateSubscriptionError
Auto Trait Implementations§
impl Freeze for CreateSubscriptionError
impl RefUnwindSafe for CreateSubscriptionError
impl Send for CreateSubscriptionError
impl Sync for CreateSubscriptionError
impl Unpin for CreateSubscriptionError
impl UnwindSafe for CreateSubscriptionError
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