pub async fn destroy_child_component(
    child_name: &str,
    collection_name: &str,
    realm: &RealmProxy
) -> Result<(), Error>
Expand description

Destroys a child in the specified Realm. This call is expects a matching call to have been made to create_child.


  • child_name: The name of the child to destroy.
  • collection_name: The name of collection in which the child was created.
  • realm: The Realm the child will bound in.


Returns an error if the child was not destroyed in the realm.