Enum sentry_types::protocol::v7::ContextData
[−]
[src]
pub enum ContextData { Default, Device(Box<DeviceContext>), Os(Box<OsContext>), Runtime(Box<RuntimeContext>), App(Box<AppContext>), Browser(Box<BrowserContext>), }
Typed contextual data
Variants
Default
Arbitrary contextual information
Device(Box<DeviceContext>)
Device data.
Os(Box<OsContext>)
Operating system data.
Runtime(Box<RuntimeContext>)
Runtime data.
App(Box<AppContext>)
Application data.
Browser(Box<BrowserContext>)
Web browser data.
Methods
impl ContextData
[src]
Trait Implementations
impl Debug for ContextData
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ContextData
[src]
fn clone(&self) -> ContextData
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ContextData
[src]
fn eq(&self, __arg_0: &ContextData) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContextData) -> bool
[src]
This method tests for !=
.
impl From<ContextData> for Context
[src]
fn from(data: ContextData) -> Context
[src]
Performs the conversion.
impl From<AppContext> for ContextData
[src]
fn from(data: AppContext) -> ContextData
[src]
Performs the conversion.
impl From<DeviceContext> for ContextData
[src]
fn from(data: DeviceContext) -> ContextData
[src]
Performs the conversion.
impl From<OsContext> for ContextData
[src]
fn from(data: OsContext) -> ContextData
[src]
Performs the conversion.
impl From<RuntimeContext> for ContextData
[src]
fn from(data: RuntimeContext) -> ContextData
[src]
Performs the conversion.
impl From<BrowserContext> for ContextData
[src]
fn from(data: BrowserContext) -> ContextData
[src]
Performs the conversion.
impl Default for ContextData
[src]
fn default() -> ContextData
[src]
Returns the "default value" for a type. Read more