pub async fn replace_component_decl(
        &self,
        name: impl Into<ChildRef>,
        decl: cm_rust::ComponentDecl,
    ) -> Result<(), Error> {
        self.root_realm.replace_component_decl(name, decl).await
    }
/// Replaces the decl for a child of this realm
Replaces the decl for a child of this realm
Replaces the decl for a child of this realm
pub async fn replace_component_decl(
        &self,
        name: impl Into<ChildRef>,
        decl: cm_rust::ComponentDecl,
    ) -> Result<(), Error> {
        self.root_realm.replace_component_decl(name, decl).await
    }
pub async fn replace_component_decl ( & self , name : impl Into < ChildRef > , decl : cm_rust :: ComponentDecl , ) -> Result < ( ) , Error > { self . root_realm . replace_component_decl ( name , decl ) . await }
Replaces the decl for a child of this realm
Replaces the decl for a child of this realm
&self
name
impl Into<ChildRef>
decl
cm_rust::ComponentDecl
&self
name
impl Into<ChildRef>
decl
cm_rust::ComponentDecl