Struct sentry::ScopeHandle [] [src]

pub struct ScopeHandle(_);

A handle to the current scope.

A scope handle is returned by the sentry::scope_handle function and can be used to transfer a scope to another thread. The handle can be cloned to be used in multiple threads.

A scope handle also implements Default which returns a dummy scope handle that does not do anything on bind.

Methods

impl ScopeHandle
[src]

[src]

Binds the scope behind the handle to the current scope.

Trait Implementations

impl Default for ScopeHandle
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for ScopeHandle
[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 ScopeHandle

impl Sync for ScopeHandle