Function sentry::current_client
[−]
[src]
pub fn current_client() -> Option<Arc<Client>>
Returns the currently bound client if there is one.
This might return None
in case there is no client. For the most part
code will not use this function but instead directly call capture_event
and similar functions which work on the currently active client.