fidl_fuchsia_virtualization_hardware

Trait VirtioWaylandProxyInterface

Source
pub trait VirtioWaylandProxyInterface: Send + Sync {
    type ConfigureQueueResponseFut: Future<Output = Result<(), Error>> + Send;
    type ReadyResponseFut: Future<Output = Result<(), Error>> + Send;
    type StartResponseFut: Future<Output = Result<(), Error>> + Send;
    type StartWithWaylandServer_ResponseFut: 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,
        vmar: Vmar,
        sysmem_allocator: ClientEnd<AllocatorMarker>,
        scenic_allocator: ClientEnd<AllocatorMarker>,
    ) -> Self::StartResponseFut;
    fn start_with_wayland_server_(
        &self,
        start_info: StartInfo,
        vmar: Vmar,
        wayland_server: Option<ClientEnd<Server_Marker>>,
        sysmem_allocator: ClientEnd<AllocatorMarker>,
        scenic_allocator: ClientEnd<AllocatorMarker>,
    ) -> Self::StartWithWaylandServer_ResponseFut;
    fn get_importer(
        &self,
        importer: ServerEnd<VirtioWaylandImporterMarker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

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, vmar: Vmar, sysmem_allocator: ClientEnd<AllocatorMarker>, scenic_allocator: ClientEnd<AllocatorMarker>, ) -> Self::StartResponseFut

Source

fn start_with_wayland_server_( &self, start_info: StartInfo, vmar: Vmar, wayland_server: Option<ClientEnd<Server_Marker>>, sysmem_allocator: ClientEnd<AllocatorMarker>, scenic_allocator: ClientEnd<AllocatorMarker>, ) -> Self::StartWithWaylandServer_ResponseFut

Source

fn get_importer( &self, importer: ServerEnd<VirtioWaylandImporterMarker>, ) -> Result<(), Error>

Implementors§