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