Enum sentry::protocol::ContextData [] [src]

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

Typed contextual data

Variants

Arbitrary contextual information

Device data.

Operating system data.

Runtime data.

Application data.

Web browser data.

Methods

impl ContextData
[src]

[src]

Returns the name of the type for sentry.

Trait Implementations

impl PartialEq<ContextData> for ContextData
[src]

[src]

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

[src]

This method tests for !=.

impl From<RuntimeContext> for ContextData
[src]

[src]

Performs the conversion.

impl From<OsContext> for ContextData
[src]

[src]

Performs the conversion.

impl From<BrowserContext> for ContextData
[src]

[src]

Performs the conversion.

impl From<ContextData> for Context
[src]

[src]

Performs the conversion.

impl From<DeviceContext> for ContextData
[src]

[src]

Performs the conversion.

impl From<AppContext> for ContextData
[src]

[src]

Performs the conversion.

impl<'de> Deserialize<'de> for ContextData
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for ContextData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for ContextData
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for ContextData
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for ContextData
[src]

[src]

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

Auto Trait Implementations

impl Send for ContextData

impl Sync for ContextData