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]
impl ContextData
Trait Implementations
impl Debug for ContextData
[src]
impl Debug for ContextData
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ContextData
[src]
impl Clone for ContextData
fn clone(&self) -> ContextData
[src]
fn clone(&self) -> ContextData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ContextData
[src]
impl PartialEq for ContextData
fn eq(&self, other: &ContextData) -> bool
[src]
fn eq(&self, other: &ContextData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ContextData) -> bool
[src]
fn ne(&self, other: &ContextData) -> bool
This method tests for !=
.
impl From<ContextData> for Context
[src]
impl From<ContextData> for Context
fn from(data: ContextData) -> Context
[src]
fn from(data: ContextData) -> Context
Performs the conversion.
impl From<AppContext> for ContextData
[src]
impl From<AppContext> for ContextData
fn from(data: AppContext) -> ContextData
[src]
fn from(data: AppContext) -> ContextData
Performs the conversion.
impl From<DeviceContext> for ContextData
[src]
impl From<DeviceContext> for ContextData
fn from(data: DeviceContext) -> ContextData
[src]
fn from(data: DeviceContext) -> ContextData
Performs the conversion.
impl From<OsContext> for ContextData
[src]
impl From<OsContext> for ContextData
fn from(data: OsContext) -> ContextData
[src]
fn from(data: OsContext) -> ContextData
Performs the conversion.
impl From<RuntimeContext> for ContextData
[src]
impl From<RuntimeContext> for ContextData
fn from(data: RuntimeContext) -> ContextData
[src]
fn from(data: RuntimeContext) -> ContextData
Performs the conversion.
impl From<BrowserContext> for ContextData
[src]
impl From<BrowserContext> for ContextData
fn from(data: BrowserContext) -> ContextData
[src]
fn from(data: BrowserContext) -> ContextData
Performs the conversion.
impl Default for ContextData
[src]
impl Default for ContextData
fn default() -> ContextData
[src]
fn default() -> ContextData
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ContextData
impl Send for ContextData
impl Sync for ContextData
impl Sync for ContextData