Skip to main content

can_take_a_key

Function can_take_a_key 

Source
pub(super) fn can_take_a_key(
    state: &AppState,
    def_id: &str,
) -> Result<(), String>
Expand description

Why def_id cannot be moved onto a key account now, or Ok. An agent on a model route is billed to the route. A container agent can take a key: its container reaches the gateway, never the key (container::key_route), and a container with no way to the gateway says so at the turn, with what to do instead.