async fn route_from_bt_init_to_mock_client<S: DiscoverableProtocolMarker>(builder: &RealmBuilder) {
    builder
        .add_route(
            Route::new()
                .capability(Capability::protocol::<S>())
                .from(Ref::child(BT_INIT_MONIKER))
                .to(Ref::child(MOCK_CLIENT_MONIKER)),
        )
        .await
        .expect(&format!("failed routing {} from bt-init to mock client", S::PROTOCOL_NAME));
}
// Helper for the common case of routing between bt-init and its mock client.
Helper for the common case of routing between bt-init and its mock client.
Helper for the common case of routing between bt - init and its mock client .
async fn route_from_bt_init_to_mock_client<S: DiscoverableProtocolMarker>(builder: &RealmBuilder) {
    builder
        .add_route(
            Route::new()
                .capability(Capability::protocol::<S>())
                .from(Ref::child(BT_INIT_MONIKER))
                .to(Ref::child(MOCK_CLIENT_MONIKER)),
        )
        .await
        .expect(&format!("failed routing {} from bt-init to mock client", S::PROTOCOL_NAME));
}
async fn route_from_bt_init_to_mock_client < S : DiscoverableProtocolMarker > ( builder : & RealmBuilder ) { builder . add_route ( Route :: new ( ) . capability ( Capability :: protocol :: < S > ( ) ) . from ( Ref :: child ( BT_INIT_MONIKER ) ) . to ( Ref :: child ( MOCK_CLIENT_MONIKER ) ) , ) . await . expect ( & format ! ( " " S PROTOCOL_NAME ) ) ; }
Helper for the common case of routing between bt-init and its mock client.
Helper for the common case of routing between bt - init and its mock client .
builder
&RealmBuilder
builder
&RealmBuilder