fidl_fuchsia_hardware_block

Trait SessionProxyInterface

Source
pub trait SessionProxyInterface: Send + Sync {
    type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send;
    type GetFifoResponseFut: Future<Output = Result<SessionGetFifoResult, Error>> + Send;
    type AttachVmoResponseFut: Future<Output = Result<SessionAttachVmoResult, Error>> + Send;

    // Required methods
    fn close(&self) -> Self::CloseResponseFut;
    fn get_fifo(&self) -> Self::GetFifoResponseFut;
    fn attach_vmo(&self, vmo: Vmo) -> Self::AttachVmoResponseFut;
}

Required Associated Types§

Source

type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send

Source

type GetFifoResponseFut: Future<Output = Result<SessionGetFifoResult, Error>> + Send

Source

type AttachVmoResponseFut: Future<Output = Result<SessionAttachVmoResult, Error>> + Send

Required Methods§

Source

fn close(&self) -> Self::CloseResponseFut

Source

fn get_fifo(&self) -> Self::GetFifoResponseFut

Source

fn attach_vmo(&self, vmo: Vmo) -> Self::AttachVmoResponseFut

Implementors§

Source§

impl SessionProxyInterface for SessionProxy

Source§

type CloseResponseFut = QueryResponseFut<Result<(), i32>>

Source§

type GetFifoResponseFut = QueryResponseFut<Result<Fifo, i32>>

Source§

type AttachVmoResponseFut = QueryResponseFut<Result<VmoId, i32>>