fidl_fuchsia_bluetooth

Trait ChannelProxyInterface

Source
pub trait ChannelProxyInterface: Send + Sync {
    type Send_ResponseFut: Future<Output = Result<(), Error>> + Send;
    type ReceiveResponseFut: Future<Output = Result<Vec<Packet>, Error>> + Send;
    type WatchChannelParametersResponseFut: Future<Output = Result<ChannelParameters, Error>> + Send;

    // Required methods
    fn send_(&self, packets: &[Packet]) -> Self::Send_ResponseFut;
    fn receive(&self) -> Self::ReceiveResponseFut;
    fn watch_channel_parameters(
        &self,
    ) -> Self::WatchChannelParametersResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§