pub fn spawn_avrcp_client_controller(controller: Controller, fidl_stream: ControllerRequestStream) {
    fasync::spawn(
        async move {
            let mut acc = AvrcpClientController::new(controller, fidl_stream);
            acc.run().await?;
            Ok(())
        }
        .boxed()
        .unwrap_or_else(|e: anyhow::Error| fx_log_err!("{:?}", e)),
    );
}
/// Spawns a future that facilitates communication between a PeerController and a FIDL client.
Spawns a future that facilitates communication between a PeerController and a FIDL client.
Spawns a future that facilitates communication between a PeerController and a FIDL client .
pub fn spawn_avrcp_client_controller(controller: Controller, fidl_stream: ControllerRequestStream) {
    fasync::spawn(
        async move {
            let mut acc = AvrcpClientController::new(controller, fidl_stream);
            acc.run().await?;
            Ok(())
        }
        .boxed()
        .unwrap_or_else(|e: anyhow::Error| fx_log_err!("{:?}", e)),
    );
}
pub fn spawn_avrcp_client_controller ( controller : Controller , fidl_stream : ControllerRequestStream ) { fasync :: spawn ( async move { let mut acc = AvrcpClientController :: new ( controller , fidl_stream ) ; acc . run ( ) . await ? ; Ok ( ( ) ) } . boxed ( ) . unwrap_or_else ( | e : anyhow :: Error | fx_log_err ! ( " " e ) ) , ) ; }
Spawns a future that facilitates communication between a PeerController and a FIDL client.
Spawns a future that facilitates communication between a PeerController and a FIDL client .
controller
Controller
fidl_stream
ControllerRequestStream
controller
Controller
fidl_stream
ControllerRequestStream