Struct ywasm::YAfterTransactionObserver
source · pub struct YAfterTransactionObserver(_);
Trait Implementations§
source§impl From<Subscription<Arc<dyn Fn(&TransactionMut<'_>, &TransactionCleanupEvent) + 'static>>> for YAfterTransactionObserver
impl From<Subscription<Arc<dyn Fn(&TransactionMut<'_>, &TransactionCleanupEvent) + 'static>>> for YAfterTransactionObserver
source§fn from(o: TransactionCleanupSubscription) -> Self
fn from(o: TransactionCleanupSubscription) -> Self
Converts to this type from the input type.
source§impl From<YAfterTransactionObserver> for JsValue
impl From<YAfterTransactionObserver> for JsValue
source§fn from(value: YAfterTransactionObserver) -> Self
fn from(value: YAfterTransactionObserver) -> Self
Converts to this type from the input type.
source§impl RefFromWasmAbi for YAfterTransactionObserver
impl RefFromWasmAbi for YAfterTransactionObserver
§type Anchor = Ref<'static, YAfterTransactionObserver>
type Anchor = Ref<'static, YAfterTransactionObserver>
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.Auto Trait Implementations§
impl RefUnwindSafe for YAfterTransactionObserver
impl Send for YAfterTransactionObserver
impl Sync for YAfterTransactionObserver
impl Unpin for YAfterTransactionObserver
impl UnwindSafe for YAfterTransactionObserver
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§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
.