/// Initializes the realm, but doesn't create it. Returns the root URL, the collection name,
/// and the mocks runner. The caller should pass the URL and collection name into
/// `fuchsial.sys2.Realm#CreateChild`, and keep the mocks runner alive until after
/// `fuchsia.sys2.Realm#DestroyChild` has been called.
Initializes the realm, but doesn't create it. Returns the root URL, the collection name,
and the mocks runner. The caller should pass the URL and collection name into
`fuchsial.sys2.Realm#CreateChild`, and keep the mocks runner alive until after
`fuchsia.sys2.Realm#DestroyChild` has been called.
Initializes the realm but doesn ' t create it . Returns the root URL the collection name and the mocks runner . The caller should pass the URL and collection name into ` fuchsial . sys2 . Realm#CreateChild ` and keep the mocks runner alive until after ` fuchsia . sys2 . Realm#DestroyChild ` has been called .
pub async fn initialize(mut self) -> Result<(String, String, mock::MocksRunner), Error> {
        self.flush_routes().await?;
        let root_url =
            self.realm_builder_proxy.commit().await?.map_err(|s| Error::FailedToCommit(s))?;
        Ok((root_url, self.collection_name, self.mocks_runner))
    }
pub async fn initialize ( mut self ) -> Result < ( String , String , mock :: MocksRunner ) , Error > { self . flush_routes ( ) . await ? ; let root_url = self . realm_builder_proxy . commit ( ) . await ? . map_err ( | s | Error :: FailedToCommit ( s ) ) ? ; Ok ( ( root_url , self . collection_name , self . mocks_runner ) ) }
Initializes the realm, but doesn't create it.
Initializes the realm but doesn ' t create it .
mut self