pub fn wrap_command_request<C: CommandId + Serialize + Clone>(
request: &CommandRequest<C>,
) -> Result<WrappedCommand, Error>Expand description
Wrap a CommandRequest into a WrappedCommand for sending.
The CommandRequest already contains the tx via #[serde(flatten)],
so this just serializes and extracts the command_id.