Enum actix_tools::sentry::sentry_client::protocol::ContextData[]

pub enum ContextData {
    Default,
    Device(Box<DeviceContext>),
    Os(Box<OsContext>),
    Runtime(Box<RuntimeContext>),
    App(Box<AppContext>),
    Browser(Box<BrowserContext>),
}

Typed contextual data

Variants

Arbitrary contextual information

Device data.

Operating system data.

Runtime data.

Application data.

Web browser data.

Methods

impl ContextData

Returns the name of the type for sentry.

Trait Implementations

impl Serialize for ContextData

Serialize this value into the given Serde serializer. Read more

impl Clone for ContextData

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ContextData

Returns the "default value" for a type. Read more

impl Debug for ContextData

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for ContextData

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<ContextData> for ContextData

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<AppContext> for ContextData

Performs the conversion.

impl From<DeviceContext> for ContextData

Performs the conversion.

impl From<BrowserContext> for ContextData

Performs the conversion.

impl From<RuntimeContext> for ContextData

Performs the conversion.

impl From<OsContext> for ContextData

Performs the conversion.

impl From<ContextData> for Context

Performs the conversion.

Auto Trait Implementations

impl Send for ContextData

impl Sync for ContextData