[][src]Struct sentry_contexts::ContextIntegration

pub struct ContextIntegration { /* fields omitted */ }

Adds Contexts to Sentry Events.

See the Contexts Interface documentation for more info.

Implementations

impl ContextIntegration[src]

pub fn new() -> Self[src]

Create a new Context Integration.

pub fn add_os(mut self: Self, add_os: bool) -> Self[src]

Add os context, enabled by default.

pub fn add_rust(mut self: Self, add_rust: bool) -> Self[src]

Add rust context, enabled by default.

pub fn add_device(mut self: Self, add_device: bool) -> Self[src]

Add device context, enabled by default.

Trait Implementations

impl Debug for ContextIntegration[src]

impl Default for ContextIntegration[src]

impl Integration for ContextIntegration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.