pub struct WasmWorkerPool { /* private fields */ }Expand description
WASM bindings for worker pool (for demonstration/testing)
Implementations§
Trait Implementations§
Source§impl From<WasmWorkerPool> for JsValue
impl From<WasmWorkerPool> for JsValue
Source§fn from(value: WasmWorkerPool) -> Self
fn from(value: WasmWorkerPool) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmWorkerPool
impl FromWasmAbi for WasmWorkerPool
Source§impl IntoWasmAbi for WasmWorkerPool
impl IntoWasmAbi for WasmWorkerPool
Source§impl LongRefFromWasmAbi for WasmWorkerPool
impl LongRefFromWasmAbi for WasmWorkerPool
Source§impl OptionFromWasmAbi for WasmWorkerPool
impl OptionFromWasmAbi for WasmWorkerPool
Source§impl OptionIntoWasmAbi for WasmWorkerPool
impl OptionIntoWasmAbi for WasmWorkerPool
Source§impl RefFromWasmAbi for WasmWorkerPool
impl RefFromWasmAbi for WasmWorkerPool
Source§type Anchor = RcRef<WasmWorkerPool>
type Anchor = RcRef<WasmWorkerPool>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for WasmWorkerPool
impl RefMutFromWasmAbi for WasmWorkerPool
Source§impl TryFromJsValue for WasmWorkerPool
impl TryFromJsValue for WasmWorkerPool
Source§impl VectorFromWasmAbi for WasmWorkerPool
impl VectorFromWasmAbi for WasmWorkerPool
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmWorkerPool]>
Source§impl VectorIntoWasmAbi for WasmWorkerPool
impl VectorIntoWasmAbi for WasmWorkerPool
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmWorkerPool]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmWorkerPool
impl WasmDescribeVector for WasmWorkerPool
impl SupportsConstructor for WasmWorkerPool
impl SupportsInstanceProperty for WasmWorkerPool
impl SupportsStaticProperty for WasmWorkerPool
Auto Trait Implementations§
impl Freeze for WasmWorkerPool
impl RefUnwindSafe for WasmWorkerPool
impl Send for WasmWorkerPool
impl Sync for WasmWorkerPool
impl Unpin for WasmWorkerPool
impl UnsafeUnpin for WasmWorkerPool
impl UnwindSafe for WasmWorkerPool
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.