fidl_fuchsia_virtualization_hardware

Trait VirtioGpuProxyInterface

Source
pub trait VirtioGpuProxyInterface: Send + Sync {
    type ConfigureQueueResponseFut: Future<Output = Result<(), Error>> + Send;
    type ReadyResponseFut: Future<Output = Result<(), Error>> + Send;
    type StartResponseFut: Future<Output = Result<(), 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,
        keyboard_listener: Option<ClientEnd<KeyboardListenerMarker>>,
        mouse_source: Option<ServerEnd<MouseSourceMarker>>,
    ) -> Self::StartResponseFut;
}

Required Associated Types§

Source

type ConfigureQueueResponseFut: Future<Output = Result<(), Error>> + Send

Source

type ReadyResponseFut: Future<Output = Result<(), Error>> + Send

Source

type StartResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn configure_queue( &self, queue: u16, size: u16, desc: u64, avail: u64, used: u64, ) -> Self::ConfigureQueueResponseFut

Source

fn notify_queue(&self, queue: u16) -> Result<(), Error>

Source

fn ready(&self, negotiated_features: u32) -> Self::ReadyResponseFut

Source

fn start( &self, start_info: StartInfo, keyboard_listener: Option<ClientEnd<KeyboardListenerMarker>>, mouse_source: Option<ServerEnd<MouseSourceMarker>>, ) -> Self::StartResponseFut

Implementors§

Source§

impl VirtioGpuProxyInterface for VirtioGpuProxy

Source§

type ConfigureQueueResponseFut = QueryResponseFut<()>

Source§

type ReadyResponseFut = QueryResponseFut<()>

Source§

type StartResponseFut = QueryResponseFut<()>