Struct elfo::scope::Scope [−][src]
pub struct Scope { /* fields omitted */ }
Implementations
👎 Deprecated:
use actor()
instead
Replaces the current trace id with the provided one.
Returns the current permissions (for logging, telemetry and so on).
Wraps the provided future with the current scope.
Runs the provided function with the current scope.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Scope
impl UnwindSafe for Scope
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more