pub struct WasmHost {}
Trait Implementations
sourceimpl Transport for WasmHost
impl Transport for WasmHost
fn send<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
_msg: Message<'life2>,
_opts: Option<SendOpts>
) -> Pin<Box<dyn Future<Output = RpcResult<Vec<u8>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
sourcefn set_timeout(&self, _interval: Duration)
fn set_timeout(&self, _interval: Duration)
Sets rpc timeout
Auto Trait Implementations
impl RefUnwindSafe for WasmHost
impl Send for WasmHost
impl Sync for WasmHost
impl Unpin for WasmHost
impl UnwindSafe for WasmHost
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more