Module scope
Source - Scope
- SerdeMode
- A mode of (de)serialization.
Useful to alternate a behavior depending on a context.
- expose
- Exposes the current scope in order to send to other tasks.
- meta
- Returns the current object’s meta.
- serde_mode
- Returns the current serde mode.
- set_trace_id
- Replaces the current trace id with the provided one.
- trace_id
- Returns the current trace id.
- try_expose
- Exposes the current scope if inside the actor system.
- try_meta
- Returns the current object’s meta if inside the actor system.
- try_set_trace_id
- Replaces the current trace id with the provided one
if inside the actor system.
- try_trace_id
- Returns the current trace id if inside the actor system.
- try_with
- Accesses the current scope and runs the provided closure.
- with
- Accesses the current scope and runs the provided closure.
- with_serde_mode
- Sets the specified serde mode and runs the function.