Struct relay_event_schema::protocol::EventProcessingError
source · pub struct EventProcessingError {
pub ty: Annotated<String>,
pub name: Annotated<String>,
pub value: Annotated<Value>,
pub other: Object<Value>,
}
Expand description
An event processing error.
Fields§
§ty: Annotated<String>
The error kind.
name: Annotated<String>
Affected key or deep path.
value: Annotated<Value>
The original value causing this error.
other: Object<Value>
Additional data explaining this error.
Trait Implementations§
source§impl Clone for EventProcessingError
impl Clone for EventProcessingError
source§fn clone(&self) -> EventProcessingError
fn clone(&self) -> EventProcessingError
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 EventProcessingError
impl Debug for EventProcessingError
source§impl Default for EventProcessingError
impl Default for EventProcessingError
source§fn default() -> EventProcessingError
fn default() -> EventProcessingError
Returns the “default value” for a type. Read more
source§impl Empty for EventProcessingError
impl Empty for EventProcessingError
source§impl FromValue for EventProcessingError
impl FromValue for EventProcessingError
source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for EventProcessingError
impl IntoValue for EventProcessingError
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl PartialEq for EventProcessingError
impl PartialEq for EventProcessingError
source§impl ProcessValue for EventProcessingError
impl ProcessValue for EventProcessingError
source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for EventProcessingError
Auto Trait Implementations§
impl Freeze for EventProcessingError
impl RefUnwindSafe for EventProcessingError
impl Send for EventProcessingError
impl Sync for EventProcessingError
impl Unpin for EventProcessingError
impl UnwindSafe for EventProcessingError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)