Skip to main content

claimed_actor

Function claimed_actor 

Source
pub fn claimed_actor(body: &Map<String, Value>) -> Result<Actor, BodyRefusal>
Expand description

The actor a spool command’s body claims, read before anything else of it, so the claim is held to the caller before the body is ruled on.

§Errors

Returns BodyRefusal when the body names no actor this system has.