Struct relay_event_schema::protocol::MechanismMeta
source · pub struct MechanismMeta {
pub errno: Annotated<CError>,
pub signal: Annotated<PosixSignal>,
pub mach_exception: Annotated<MachException>,
pub ns_error: Annotated<NsError>,
pub other: Object<Value>,
}
Expand description
Operating system or runtime meta information to an exception mechanism.
The mechanism metadata usually carries error codes reported by the runtime or operating system, along with a platform-dependent interpretation of these codes. SDKs can safely omit code names and descriptions for well-known error codes, as it will be filled out by Sentry. For proprietary or vendor-specific error codes, adding these values will give additional information to the user.
Fields§
§errno: Annotated<CError>
Optional ISO C standard error code.
signal: Annotated<PosixSignal>
Information on the POSIX signal.
mach_exception: Annotated<MachException>
A Mach Exception on Apple systems comprising a code triple and optional descriptions.
ns_error: Annotated<NsError>
An NSError on Apple systems comprising code and signal.
other: Object<Value>
Additional arbitrary fields for forwards compatibility.
Trait Implementations§
source§impl Clone for MechanismMeta
impl Clone for MechanismMeta
source§fn clone(&self) -> MechanismMeta
fn clone(&self) -> MechanismMeta
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 MechanismMeta
impl Debug for MechanismMeta
source§impl Default for MechanismMeta
impl Default for MechanismMeta
source§fn default() -> MechanismMeta
fn default() -> MechanismMeta
Returns the “default value” for a type. Read more
source§impl Empty for MechanismMeta
impl Empty for MechanismMeta
source§impl FromValue for MechanismMeta
impl FromValue for MechanismMeta
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 MechanismMeta
impl IntoValue for MechanismMeta
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 MechanismMeta
impl PartialEq for MechanismMeta
source§impl ProcessValue for MechanismMeta
impl ProcessValue for MechanismMeta
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 MechanismMeta
Auto Trait Implementations§
impl Freeze for MechanismMeta
impl RefUnwindSafe for MechanismMeta
impl Send for MechanismMeta
impl Sync for MechanismMeta
impl Unpin for MechanismMeta
impl UnwindSafe for MechanismMeta
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
)