pub struct HostRealm { /* private fields */ }
Implementations§
Source§impl HostRealm
impl HostRealm
pub async fn create(test_component: String) -> Result<Self, Error>
pub async fn create_bt_host_in_collection( realm: &Arc<HostRealm>, filename: &str, ) -> Result<ClientEnd<HostMarker>, Error>
pub fn instance(&self) -> &ScopedInstance
pub fn dev(&self) -> Result<DirectoryProxy, Error>
pub fn receiver(&self) -> Receiver<ClientEnd<HostMarker>>
Auto Trait Implementations§
impl !Freeze for HostRealm
impl !RefUnwindSafe for HostRealm
impl Send for HostRealm
impl Sync for HostRealm
impl Unpin for HostRealm
impl !UnwindSafe for HostRealm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more