pub trait TdispClientDevice: Send + Sync {
// Required method
fn tdisp_command_to_host(&self, command: GuestToHostCommand) -> Result<()>;
}Expand description
Trait implemented by TDISP-capable devices on the client side. This includes devices that are assigned to isolated partitions other than the host.
Required Methods§
Sourcefn tdisp_command_to_host(&self, command: GuestToHostCommand) -> Result<()>
fn tdisp_command_to_host(&self, command: GuestToHostCommand) -> Result<()>
Send a TDISP command to the host for this device. TODO TDISP: Async? Better handling of device_id in GuestToHostCommand?