fidl_fuchsia_virtualization_hardware

Trait VirtioWaylandImporterProxyInterface

Source
pub trait VirtioWaylandImporterProxyInterface: Send + Sync {
    type ImportImageResponseFut: Future<Output = Result<u32, Error>> + Send;
    type ExportImageResponseFut: Future<Output = Result<(i32, Option<Box<VirtioImage>>), Error>> + Send;

    // Required methods
    fn import_image(&self, image: VirtioImage) -> Self::ImportImageResponseFut;
    fn export_image(&self, vfd_id: u32) -> Self::ExportImageResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§