pub trait CommandRef: CommandProperties + Debug {
// Required methods
fn toserver_ref(&self) -> Option<&ToServerCommand>;
fn toclient_ref(&self) -> Option<&ToClientCommand>;
}
Expand description
This only exists to make “audit_command” generic, but it wasn’t as clean as I hoped. TODO(paradust): Factor this out.