pub struct JsSignedBundle { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl From<JsSignedBundle> for JsValue
impl From<JsSignedBundle> for JsValue
Source§fn from(value: JsSignedBundle) -> JsValue
fn from(value: JsSignedBundle) -> JsValue
Converts to this type from the input type.
Source§impl From<SignedBundle> for JsSignedBundle
impl From<SignedBundle> for JsSignedBundle
Source§fn from(inner: SignedBundle) -> JsSignedBundle
fn from(inner: SignedBundle) -> JsSignedBundle
Converts to this type from the input type.
Source§impl FromWasmAbi for JsSignedBundle
impl FromWasmAbi for JsSignedBundle
Source§impl IntoWasmAbi for JsSignedBundle
impl IntoWasmAbi for JsSignedBundle
Source§impl LongRefFromWasmAbi for JsSignedBundle
impl LongRefFromWasmAbi for JsSignedBundle
Source§type Anchor = RcRef<JsSignedBundle>
type Anchor = RcRef<JsSignedBundle>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn long_ref_from_abi(
js: <JsSignedBundle as LongRefFromWasmAbi>::Abi,
) -> <JsSignedBundle as LongRefFromWasmAbi>::Anchor
unsafe fn long_ref_from_abi( js: <JsSignedBundle as LongRefFromWasmAbi>::Abi, ) -> <JsSignedBundle as LongRefFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl OptionFromWasmAbi for JsSignedBundle
impl OptionFromWasmAbi for JsSignedBundle
Source§fn is_none(abi: &<JsSignedBundle as FromWasmAbi>::Abi) -> bool
fn is_none(abi: &<JsSignedBundle as FromWasmAbi>::Abi) -> bool
Tests whether the argument is a “none” instance. If so it will be
deserialized as
None
, and otherwise it will be passed to
FromWasmAbi
.Source§impl OptionIntoWasmAbi for JsSignedBundle
impl OptionIntoWasmAbi for JsSignedBundle
Source§fn none() -> <JsSignedBundle as IntoWasmAbi>::Abi
fn none() -> <JsSignedBundle as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None
branch of this option. Read moreSource§impl RefFromWasmAbi for JsSignedBundle
impl RefFromWasmAbi for JsSignedBundle
Source§type Anchor = RcRef<JsSignedBundle>
type Anchor = RcRef<JsSignedBundle>
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§unsafe fn ref_from_abi(
js: <JsSignedBundle as RefFromWasmAbi>::Abi,
) -> <JsSignedBundle as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <JsSignedBundle as RefFromWasmAbi>::Abi, ) -> <JsSignedBundle as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for JsSignedBundle
impl RefMutFromWasmAbi for JsSignedBundle
Source§type Anchor = RcRefMut<JsSignedBundle>
type Anchor = RcRefMut<JsSignedBundle>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn ref_mut_from_abi(
js: <JsSignedBundle as RefMutFromWasmAbi>::Abi,
) -> <JsSignedBundle as RefMutFromWasmAbi>::Anchor
unsafe fn ref_mut_from_abi( js: <JsSignedBundle as RefMutFromWasmAbi>::Abi, ) -> <JsSignedBundle as RefMutFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl TryFromJsValue for JsSignedBundle
impl TryFromJsValue for JsSignedBundle
Source§fn try_from_js_value(
value: JsValue,
) -> Result<JsSignedBundle, <JsSignedBundle as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<JsSignedBundle, <JsSignedBundle as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for JsSignedBundle
impl VectorFromWasmAbi for JsSignedBundle
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <JsSignedBundle as VectorFromWasmAbi>::Abi, ) -> Box<[JsSignedBundle]>
Source§impl VectorIntoWasmAbi for JsSignedBundle
impl VectorIntoWasmAbi for JsSignedBundle
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[JsSignedBundle]>, ) -> <JsSignedBundle as VectorIntoWasmAbi>::Abi
Source§impl Wraps<SignedBundle> for JsSignedBundle
impl Wraps<SignedBundle> for JsSignedBundle
Source§fn inner(&self) -> &SignedBundle
fn inner(&self) -> &SignedBundle
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations§
impl Freeze for JsSignedBundle
impl RefUnwindSafe for JsSignedBundle
impl Send for JsSignedBundle
impl Sync for JsSignedBundle
impl Unpin for JsSignedBundle
impl UnwindSafe for JsSignedBundle
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> 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::Abi
Source§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
.