pub enum CreateNotificationSubscriptionError {
ServiceUnavailable(String),
TooManySubscriptions(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by CreateNotificationSubscription
Variants§
One or more of the dependencies is unavailable.
TooManySubscriptions(String)
You've reached the limit on the number of subscriptions for the WorkDocs instance.
The caller does not have access to perform the action on the resource.
Implementations§
Trait Implementations§
Source§impl Error for CreateNotificationSubscriptionError
impl Error for CreateNotificationSubscriptionError
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 CreateNotificationSubscriptionError
impl PartialEq for CreateNotificationSubscriptionError
Source§fn eq(&self, other: &CreateNotificationSubscriptionError) -> bool
fn eq(&self, other: &CreateNotificationSubscriptionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateNotificationSubscriptionError
Auto Trait Implementations§
impl Freeze for CreateNotificationSubscriptionError
impl RefUnwindSafe for CreateNotificationSubscriptionError
impl Send for CreateNotificationSubscriptionError
impl Sync for CreateNotificationSubscriptionError
impl Unpin for CreateNotificationSubscriptionError
impl UnwindSafe for CreateNotificationSubscriptionError
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