Struct sentry::ClientInitGuard
[−]
[src]
pub struct ClientInitGuard(_);
Helper struct that is returned from init
.
When this is dropped events are drained with a 1 second timeout.
Methods
impl ClientInitGuard
[src]
pub fn is_enabled(&self) -> bool
[src]
Returns true
if a client was created by initialization.
pub fn client(&self) -> Option<Arc<Client>>
[src]
Returns the client created by init
.