fidl_fuchsia_virtualization_hardwareTrait VirtioBalloonProxyInterface
Source pub trait VirtioBalloonProxyInterface: Send + Sync {
type ConfigureQueueResponseFut: Future<Output = Result<(), Error>> + Send;
type ReadyResponseFut: Future<Output = Result<(), Error>> + Send;
type StartResponseFut: Future<Output = Result<(), Error>> + Send;
type GetMemStatsResponseFut: Future<Output = Result<(i32, Option<Vec<MemStat>>), Error>> + Send;
// Required methods
fn configure_queue(
&self,
queue: u16,
size: u16,
desc: u64,
avail: u64,
used: u64,
) -> Self::ConfigureQueueResponseFut;
fn notify_queue(&self, queue: u16) -> Result<(), Error>;
fn ready(&self, negotiated_features: u32) -> Self::ReadyResponseFut;
fn start(&self, start_info: StartInfo) -> Self::StartResponseFut;
fn get_mem_stats(&self) -> Self::GetMemStatsResponseFut;
}