Function realm_management::destroy_child_component
source · 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
.
Parameters
child_name
: The name of the child to destroy.collection_name
: The name of collection in which the child was created.realm
: TheRealm
the child will bound in.
Errors
Returns an error if the child was not destroyed in the realm.