Struct ywasm::YEventObserver
source · pub struct YEventObserver(_);Trait Implementations§
source§impl From<Subscription<Arc<dyn Fn(&TransactionMut<'_>, &Events) + 'static>>> for YEventObserver
impl From<Subscription<Arc<dyn Fn(&TransactionMut<'_>, &Events) + 'static>>> for YEventObserver
source§fn from(o: DeepEventsSubscription) -> Self
fn from(o: DeepEventsSubscription) -> Self
Converts to this type from the input type.
source§impl From<YEventObserver> for JsValue
impl From<YEventObserver> for JsValue
source§fn from(value: YEventObserver) -> Self
fn from(value: YEventObserver) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for YEventObserver
impl FromWasmAbi for YEventObserver
source§impl IntoWasmAbi for YEventObserver
impl IntoWasmAbi for YEventObserver
source§impl LongRefFromWasmAbi for YEventObserver
impl LongRefFromWasmAbi for YEventObserver
source§impl OptionFromWasmAbi for YEventObserver
impl OptionFromWasmAbi for YEventObserver
source§impl OptionIntoWasmAbi for YEventObserver
impl OptionIntoWasmAbi for YEventObserver
source§impl RefFromWasmAbi for YEventObserver
impl RefFromWasmAbi for YEventObserver
§type Anchor = Ref<'static, YEventObserver>
type Anchor = Ref<'static, YEventObserver>
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 YEventObserver
impl RefMutFromWasmAbi for YEventObserver
Auto Trait Implementations§
impl RefUnwindSafe for YEventObserver
impl Send for YEventObserver
impl Sync for YEventObserver
impl Unpin for YEventObserver
impl UnwindSafe for YEventObserver
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::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.