pub enum NotificationValidationError {
InvalidRule,
DigestRequiresEmail,
InvalidDigestInterval,
LockedEmail,
UnsubscribeDelivery,
ProjectionTooLarge,
}Variants§
InvalidRule
DigestRequiresEmail
InvalidDigestInterval
LockedEmail
UnsubscribeDelivery
ProjectionTooLarge
Implementations§
Source§impl NotificationValidationError
impl NotificationValidationError
pub const fn code(self) -> CallFailureCode
pub const fn reason(self) -> ErrorReason
Trait Implementations§
Source§impl Clone for NotificationValidationError
impl Clone for NotificationValidationError
impl Copy for NotificationValidationError
Source§impl Debug for NotificationValidationError
impl Debug for NotificationValidationError
impl Eq for NotificationValidationError
Source§impl Error for NotificationValidationError
impl Error for NotificationValidationError
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()
impl StructuralPartialEq for NotificationValidationError
Auto Trait Implementations§
impl Freeze for NotificationValidationError
impl RefUnwindSafe for NotificationValidationError
impl Send for NotificationValidationError
impl Sync for NotificationValidationError
impl Unpin for NotificationValidationError
impl UnsafeUnpin for NotificationValidationError
impl UnwindSafe for NotificationValidationError
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