fidl_fuchsia_bluetooth_bredr

Trait ScoConnectionProxyInterface

Source
pub trait ScoConnectionProxyInterface: Send + Sync {
    type ReadResponseFut: Future<Output = Result<ScoConnectionReadResponse, Error>> + Send;
    type WriteResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn read(&self) -> Self::ReadResponseFut;
    fn write(
        &self,
        payload: &ScoConnectionWriteRequest,
    ) -> Self::WriteResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn read(&self) -> Self::ReadResponseFut

Source

fn write(&self, payload: &ScoConnectionWriteRequest) -> Self::WriteResponseFut

Implementors§