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
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
impl ContextData
Trait Implementations
impl Serialize for ContextData
impl Serialize for ContextData
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Clone for ContextData
impl Clone for ContextData
fn clone(&self) -> ContextData
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 Default for ContextData
impl Default for ContextData
fn default() -> ContextData
fn default() -> ContextData
Returns the "default value" for a type. Read more
impl Debug for ContextData
impl Debug for ContextData
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for ContextData
impl<'de> Deserialize<'de> for ContextData
fn deserialize<__D>(
__deserializer: __D
) -> Result<ContextData, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ContextData, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<ContextData> for ContextData
impl PartialEq<ContextData> for ContextData
fn eq(&self, other: &ContextData) -> bool
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
fn ne(&self, other: &ContextData) -> bool
This method tests for !=
.
impl From<AppContext> for ContextData
impl From<AppContext> for ContextData
fn from(data: AppContext) -> ContextData
fn from(data: AppContext) -> ContextData
Performs the conversion.
impl From<DeviceContext> for ContextData
impl From<DeviceContext> for ContextData
fn from(data: DeviceContext) -> ContextData
fn from(data: DeviceContext) -> ContextData
Performs the conversion.
impl From<BrowserContext> for ContextData
impl From<BrowserContext> for ContextData
fn from(data: BrowserContext) -> ContextData
fn from(data: BrowserContext) -> ContextData
Performs the conversion.
impl From<RuntimeContext> for ContextData
impl From<RuntimeContext> for ContextData
fn from(data: RuntimeContext) -> ContextData
fn from(data: RuntimeContext) -> ContextData
Performs the conversion.
impl From<OsContext> for ContextData
impl From<OsContext> for ContextData
fn from(data: OsContext) -> ContextData
fn from(data: OsContext) -> ContextData
Performs the conversion.
impl From<ContextData> for Context
impl From<ContextData> for Context
fn from(data: ContextData) -> Context
fn from(data: ContextData) -> Context
Performs the conversion.
Auto Trait Implementations
impl Send for ContextData
impl Send for ContextData
impl Sync for ContextData
impl Sync for ContextData