Struct wasmbox::WasmBoxContext
source · [−]pub struct WasmBoxContext<Input, Output> { /* private fields */ }
Implementations
sourceimpl<Input, Output> WasmBoxContext<Input, Output>
impl<Input, Output> WasmBoxContext<Input, Output>
pub fn send(&self, output: Output)
pub fn next(&self) -> NextMessageFuture<Input>ⓘNotable traits for NextMessageFuture<Input>impl<Input> Future for NextMessageFuture<Input> type Output = Input;
Auto Trait Implementations
impl<Input, Output> !RefUnwindSafe for WasmBoxContext<Input, Output>
impl<Input, Output> Send for WasmBoxContext<Input, Output> where
Output: Send,
impl<Input, Output> Sync for WasmBoxContext<Input, Output> where
Output: Sync,
impl<Input, Output> Unpin for WasmBoxContext<Input, Output> where
Output: Unpin,
impl<Input, Output> !UnwindSafe for WasmBoxContext<Input, Output>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more