#[non_exhaustive]pub enum PagerDutyReceiverUpdateError {
NotFound,
CreationTemplateNotFound,
InternalServerError,
Auth(AuthError),
}Expand description
Errors that can occur when updating a 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 PagerDutyReceiverUpdateError
impl Clone for PagerDutyReceiverUpdateError
source§fn clone(&self) -> PagerDutyReceiverUpdateError
fn clone(&self) -> PagerDutyReceiverUpdateError
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 PagerDutyReceiverUpdateError
impl Debug for PagerDutyReceiverUpdateError
source§impl<'de> Deserialize<'de> for PagerDutyReceiverUpdateError
impl<'de> Deserialize<'de> for PagerDutyReceiverUpdateError
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 PagerDutyReceiverUpdateError
impl Error for PagerDutyReceiverUpdateError
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 PagerDutyReceiverUpdateError
impl From<AuthError> for PagerDutyReceiverUpdateError
source§impl PartialEq for PagerDutyReceiverUpdateError
impl PartialEq for PagerDutyReceiverUpdateError
source§fn eq(&self, other: &PagerDutyReceiverUpdateError) -> bool
fn eq(&self, other: &PagerDutyReceiverUpdateError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PagerDutyReceiverUpdateError
impl Eq for PagerDutyReceiverUpdateError
impl StructuralPartialEq for PagerDutyReceiverUpdateError
Auto Trait Implementations§
impl Freeze for PagerDutyReceiverUpdateError
impl RefUnwindSafe for PagerDutyReceiverUpdateError
impl Send for PagerDutyReceiverUpdateError
impl Sync for PagerDutyReceiverUpdateError
impl Unpin for PagerDutyReceiverUpdateError
impl UnwindSafe for PagerDutyReceiverUpdateError
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