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
DefaultArbitrary 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 ContextDataTrait Implementations
impl Serialize for ContextData
impl Serialize for ContextDatafn 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 ContextDatafn clone(&self) -> ContextData
fn clone(&self) -> ContextDataReturns 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 ContextDatafn default() -> ContextData
fn default() -> ContextDataReturns the "default value" for a type. Read more
impl Debug for ContextData
impl Debug for ContextDatafn 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 ContextDatafn 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 ContextDatafn eq(&self, other: &ContextData) -> bool
fn eq(&self, other: &ContextData) -> boolThis 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) -> boolThis method tests for !=.
impl From<AppContext> for ContextData
impl From<AppContext> for ContextDatafn from(data: AppContext) -> ContextData
fn from(data: AppContext) -> ContextDataPerforms the conversion.
impl From<DeviceContext> for ContextData
impl From<DeviceContext> for ContextDatafn from(data: DeviceContext) -> ContextData
fn from(data: DeviceContext) -> ContextDataPerforms the conversion.
impl From<BrowserContext> for ContextData
impl From<BrowserContext> for ContextDatafn from(data: BrowserContext) -> ContextData
fn from(data: BrowserContext) -> ContextDataPerforms the conversion.
impl From<RuntimeContext> for ContextData
impl From<RuntimeContext> for ContextDatafn from(data: RuntimeContext) -> ContextData
fn from(data: RuntimeContext) -> ContextDataPerforms the conversion.
impl From<OsContext> for ContextData
impl From<OsContext> for ContextDatafn from(data: OsContext) -> ContextData
fn from(data: OsContext) -> ContextDataPerforms the conversion.
impl From<ContextData> for Context
impl From<ContextData> for Contextfn from(data: ContextData) -> Context
fn from(data: ContextData) -> ContextPerforms the conversion.
Auto Trait Implementations
impl Send for ContextData
impl Send for ContextDataimpl Sync for ContextData
impl Sync for ContextData