fidl_fuchsia_tee

Trait ApplicationProxyInterface

Source
pub trait ApplicationProxyInterface: Send + Sync {
    type OpenSession2ResponseFut: Future<Output = Result<(u32, OpResult), Error>> + Send;
    type InvokeCommandResponseFut: Future<Output = Result<OpResult, Error>> + Send;
    type CloseSessionResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn open_session2(
        &self,
        parameter_set: Vec<Parameter>,
    ) -> Self::OpenSession2ResponseFut;
    fn invoke_command(
        &self,
        session_id: u32,
        command_id: u32,
        parameter_set: Vec<Parameter>,
    ) -> Self::InvokeCommandResponseFut;
    fn close_session(&self, session_id: u32) -> Self::CloseSessionResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn open_session2( &self, parameter_set: Vec<Parameter>, ) -> Self::OpenSession2ResponseFut

Source

fn invoke_command( &self, session_id: u32, command_id: u32, parameter_set: Vec<Parameter>, ) -> Self::InvokeCommandResponseFut

Source

fn close_session(&self, session_id: u32) -> Self::CloseSessionResponseFut

Implementors§