pub async fn has_stub(realm_proxy: &fcomponent::RealmProxy) -> Result<bool> {
    let child_ref = create_stub_child_ref();
    has_running_child(
        fdecl::CollectionRef { name: STUB_COLLECTION_NAME.to_string() },
        &child_ref,
        realm_proxy,
    )
    .await
}
/// Returns true if the hermetic-network realm contains a stub.
///
/// The provided `realm_proxy` should correspond to the hermetic-network realm.
///
/// # Errors
///
/// An error will be returned if the `realm_proxy` encounters an error while
/// attempting to list the children of the hermetic-network realm.
Returns true if the hermetic-network realm contains a stub.
The provided `realm_proxy` should correspond to the hermetic-network realm.
Returns true if the hermetic - network realm contains a stub . The provided ` realm_proxy ` should correspond to the hermetic - network realm .
pub async fn has_stub(realm_proxy: &fcomponent::RealmProxy) -> Result<bool> {
    let child_ref = create_stub_child_ref();
    has_running_child(
        fdecl::CollectionRef { name: STUB_COLLECTION_NAME.to_string() },
        &child_ref,
        realm_proxy,
    )
    .await
}
pub async fn has_stub ( realm_proxy : & fcomponent :: RealmProxy ) -> Result < bool > { let child_ref = create_stub_child_ref ( ) ; has_running_child ( fdecl :: CollectionRef { name : STUB_COLLECTION_NAME . to_string ( ) } , & child_ref , realm_proxy , ) . await }
Returns true if the hermetic-network realm contains a stub.
Returns true if the hermetic - network realm contains a stub .
realm_proxy
&fcomponent::RealmProxy
realm_proxy
&fcomponent::RealmProxy
errors
An error will be returned if the `realm_proxy` encounters an error while
attempting to list the children of the hermetic-network realm.
An error will be returned if the ` realm_proxy ` encounters an error while attempting to list the children of the hermetic - network realm .