Struct sentry::shim::Client [] [src]

pub struct Client;

The "shim only" Sentry client.

In shim mode the client cannot be constructed and none of the functions can be called. This is generally irrelevant as there is no way to actually get access to such a client. However as a result of that not all functions are exposed in that situation. For instance it's not possible to access the options of the client, but it is possible to access the DSN.

Methods

impl Client
[src]

[src]

Returns the DSN that constructed this client.

Code that works with the shim is permitted to access the DSN to do some operations on it.

[src]

Captures an event and sends it to Sentry.

It is always permissible to send events to sentry from shim user only mode.

Trait Implementations

impl Clone for Client
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client