pub trait VirtioConsoleProxyInterface: 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,
        socket: Socket,
    ) -> 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, socket: Socket) -> Self::StartResponseFut

Implementors§

source§

impl VirtioConsoleProxyInterface for VirtioConsoleProxy

§

type ConfigureQueueResponseFut = QueryResponseFut<()>

§

type ReadyResponseFut = QueryResponseFut<()>

§

type StartResponseFut = QueryResponseFut<()>