#[non_exhaustive]pub enum PagerDutyReceiverCreateError {
DuplicateName,
CreationTemplateNotFound,
InternalServerError,
Auth(AuthError),
}Expand description
Errors that can occur when creating a new PagerDuty receiver.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for PagerDutyReceiverCreateError
impl Clone for PagerDutyReceiverCreateError
source§fn clone(&self) -> PagerDutyReceiverCreateError
fn clone(&self) -> PagerDutyReceiverCreateError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PagerDutyReceiverCreateError
impl Debug for PagerDutyReceiverCreateError
source§impl<'de> Deserialize<'de> for PagerDutyReceiverCreateError
impl<'de> Deserialize<'de> for PagerDutyReceiverCreateError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Error for PagerDutyReceiverCreateError
impl Error for PagerDutyReceiverCreateError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<AuthError> for PagerDutyReceiverCreateError
impl From<AuthError> for PagerDutyReceiverCreateError
source§impl PartialEq for PagerDutyReceiverCreateError
impl PartialEq for PagerDutyReceiverCreateError
source§fn eq(&self, other: &PagerDutyReceiverCreateError) -> bool
fn eq(&self, other: &PagerDutyReceiverCreateError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PagerDutyReceiverCreateError
impl Eq for PagerDutyReceiverCreateError
impl StructuralPartialEq for PagerDutyReceiverCreateError
Auto Trait Implementations§
impl Freeze for PagerDutyReceiverCreateError
impl RefUnwindSafe for PagerDutyReceiverCreateError
impl Send for PagerDutyReceiverCreateError
impl Sync for PagerDutyReceiverCreateError
impl Unpin for PagerDutyReceiverCreateError
impl UnwindSafe for PagerDutyReceiverCreateError
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