Skip to main content

parse_command

Function parse_command 

Source
pub fn parse_command(v: &Value) -> Result<Command>
Expand description

Validate one action. Everything a peer would see is checked here, so an action the executor accepts is one the session can carry out.