Enum sentry_types::protocol::v7::Context[][src]

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

Typed contextual data.

Types like OsContext can be directly converted with .into() to Context.

Variants

Device data.

Operating system data.

Runtime data.

Application data.

Web browser data.

Methods

impl Context
[src]

Returns the name of the type for sentry.

Trait Implementations

impl Debug for Context
[src]

Formats the value using the given formatter. Read more

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Context
[src]

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 Context
[src]

Performs the conversion.

impl From<DeviceContext> for Context
[src]

Performs the conversion.

impl From<OsContext> for Context
[src]

Performs the conversion.

impl From<RuntimeContext> for Context
[src]

Performs the conversion.

impl From<BrowserContext> for Context
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Context

impl Sync for Context