Trait capnp_rpc::VatNetwork [−][src]
Required methods
fn connect(&mut self, host_id: VatId) -> Option<Box<dyn Connection<VatId>>>
[src]
Returns None if hostId
refers to the local vat.
fn accept(&mut self) -> Promise<Box<dyn Connection<VatId>>, Error>
[src]
Waits for the next incoming connection and return it.
fn drive_until_shutdown(&mut self) -> Promise<(), Error>
[src]
Implementors
impl<T> VatNetwork<Side> for VatNetwork<T> where
T: AsyncRead + Unpin,
[src]
T: AsyncRead + Unpin,