pub enum EventValidationError {
MissingField(EventMissingFieldError),
InvalidField(Error),
}
Expand description
Errors validating Event
.
Variants§
Trait Implementations§
Source§impl Debug for EventValidationError
impl Debug for EventValidationError
Source§impl Display for EventValidationError
impl Display for EventValidationError
Source§impl Error for EventValidationError
impl Error for EventValidationError
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 From<Error> for EventValidationError
impl From<Error> for EventValidationError
Source§impl From<EventMissingFieldError> for EventValidationError
impl From<EventMissingFieldError> for EventValidationError
Source§fn from(src: EventMissingFieldError) -> Self
fn from(src: EventMissingFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventValidationError
impl RefUnwindSafe for EventValidationError
impl Send for EventValidationError
impl Sync for EventValidationError
impl Unpin for EventValidationError
impl UnwindSafe for EventValidationError
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