Skip to main content

ActorContext

Trait ActorContext 

Source
pub trait ActorContext: Send + Sync {
    // Required method
    fn actor_json(&self) -> &Value;
}
Expand description

Request-scoped identity view used by privacy and ownership checks.

Required Methods§

Source

fn actor_json(&self) -> &Value

Opaque JSON payload representing the actor (shape is host-defined).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§