Function sentry::bind_client [] [src]

pub fn bind_client(client: Arc<Client>)

Rebinds the client on the current scope.

The current scope is defined as the current thread. If a new thread spawns it inherits the client of the process. The main thread is specially handled in the sense that if the main thread binds a client it becomes bound to the process.