pub struct WasmStorageClient { /* private fields */ }Expand description
Storage client for WASM/JavaScript usage.
Implementations§
Trait Implementations§
Source§impl From<WasmStorageClient> for JsValue
impl From<WasmStorageClient> for JsValue
Source§fn from(value: WasmStorageClient) -> Self
fn from(value: WasmStorageClient) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmStorageClient
impl FromWasmAbi for WasmStorageClient
Source§impl IntoWasmAbi for WasmStorageClient
impl IntoWasmAbi for WasmStorageClient
Source§impl RefFromWasmAbi for WasmStorageClient
impl RefFromWasmAbi for WasmStorageClient
Source§type Anchor = RcRef<WasmStorageClient>
type Anchor = RcRef<WasmStorageClient>
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 TryFromJsValue for WasmStorageClient
impl TryFromJsValue for WasmStorageClient
Source§impl VectorFromWasmAbi for WasmStorageClient
impl VectorFromWasmAbi for WasmStorageClient
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmStorageClient]>
Source§impl VectorIntoWasmAbi for WasmStorageClient
impl VectorIntoWasmAbi for WasmStorageClient
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmStorageClient]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmStorageClient
impl WasmDescribeVector for WasmStorageClient
impl SupportsConstructor for WasmStorageClient
impl SupportsInstanceProperty for WasmStorageClient
impl SupportsStaticProperty for WasmStorageClient
Auto Trait Implementations§
impl Freeze for WasmStorageClient
impl !RefUnwindSafe for WasmStorageClient
impl Send for WasmStorageClient
impl Sync for WasmStorageClient
impl Unpin for WasmStorageClient
impl UnsafeUnpin for WasmStorageClient
impl !UnwindSafe for WasmStorageClient
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
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.