pub async fn add_child(
        &self,
        name: impl Into<String>,
        url: impl Into<String>,
        options: ChildOptions,
    ) -> Result<ChildRef, Error> {
        let name: String = name.into();
        self.realm_proxy.add_child(&name, &url.into(), options.into()).await??;
        Ok(ChildRef::new(name, self.realm_path.clone()))
    }
/// Adds a new component to the realm by URL
Adds a new component to the realm by URL
Adds a new component to the realm by URL
pub async fn add_child(
        &self,
        name: impl Into<String>,
        url: impl Into<String>,
        options: ChildOptions,
    ) -> Result<ChildRef, Error> {
        let name: String = name.into();
        self.realm_proxy.add_child(&name, &url.into(), options.into()).await??;
        Ok(ChildRef::new(name, self.realm_path.clone()))
    }
pub async fn add_child ( & self , name : impl Into < String > , url : impl Into < String > , options : ChildOptions , ) -> Result < ChildRef , Error > { let name : String = name . into ( ) ; self . realm_proxy . add_child ( & name , & url . into ( ) , options . into ( ) ) . await ? ? ; Ok ( ChildRef :: new ( name , self . realm_path . clone ( ) ) ) }
Adds a new component to the realm by URL
Adds a new component to the realm by URL
&self
name
impl Into<String>
url
impl Into<String>
options
ChildOptions
&self
name
impl Into<String>
url
impl Into<String>
options
ChildOptions