validate_command

Function validate_command 

Source
pub fn validate_command(command: &GuestToHostCommand) -> Result<()>
Expand description

Validate the invariants of a GuestToHostCommand to ensure that it matches the expected required protocol format.