fidl_fuchsia_bluetooth_avdtp_test

Trait PeerControllerProxyInterface

Source
pub trait PeerControllerProxyInterface: Send + Sync {
    type SetConfigurationResponseFut: Future<Output = Result<PeerControllerSetConfigurationResult, Error>> + Send;
    type GetConfigurationResponseFut: Future<Output = Result<PeerControllerGetConfigurationResult, Error>> + Send;
    type SuspendStreamResponseFut: Future<Output = Result<PeerControllerSuspendStreamResult, Error>> + Send;
    type SuspendAndReconfigureResponseFut: Future<Output = Result<PeerControllerSuspendAndReconfigureResult, Error>> + Send;
    type EstablishStreamResponseFut: Future<Output = Result<PeerControllerEstablishStreamResult, Error>> + Send;
    type ReleaseStreamResponseFut: Future<Output = Result<PeerControllerReleaseStreamResult, Error>> + Send;
    type AbortStreamResponseFut: Future<Output = Result<PeerControllerAbortStreamResult, Error>> + Send;
    type StartStreamResponseFut: Future<Output = Result<PeerControllerStartStreamResult, Error>> + Send;
    type ReconfigureStreamResponseFut: Future<Output = Result<PeerControllerReconfigureStreamResult, Error>> + Send;
    type GetCapabilitiesResponseFut: Future<Output = Result<PeerControllerGetCapabilitiesResult, Error>> + Send;
    type GetAllCapabilitiesResponseFut: Future<Output = Result<PeerControllerGetAllCapabilitiesResult, Error>> + Send;

    // Required methods
    fn set_configuration(&self) -> Self::SetConfigurationResponseFut;
    fn get_configuration(&self) -> Self::GetConfigurationResponseFut;
    fn suspend_stream(&self) -> Self::SuspendStreamResponseFut;
    fn suspend_and_reconfigure(&self) -> Self::SuspendAndReconfigureResponseFut;
    fn establish_stream(&self) -> Self::EstablishStreamResponseFut;
    fn release_stream(&self) -> Self::ReleaseStreamResponseFut;
    fn abort_stream(&self) -> Self::AbortStreamResponseFut;
    fn start_stream(&self) -> Self::StartStreamResponseFut;
    fn reconfigure_stream(&self) -> Self::ReconfigureStreamResponseFut;
    fn get_capabilities(&self) -> Self::GetCapabilitiesResponseFut;
    fn get_all_capabilities(&self) -> Self::GetAllCapabilitiesResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§