pub struct HostEventsControl { /* private fields */ }Implementations§
Source§impl HostEventsControl
impl HostEventsControl
pub async fn emit( &self, request: HostEventOccurrenceRequest, scoped_effect_controller: ScopedEffectController<'_>, ) -> Result<HostEventEmitReport>
pub async fn subscriptions( &self, filter: TriggerSubscriptionFilter, ) -> Result<Vec<TriggerRegistration>>
Trait Implementations§
Source§impl Clone for HostEventsControl
impl Clone for HostEventsControl
Source§fn clone(&self) -> HostEventsControl
fn clone(&self) -> HostEventsControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HostEventsControl
impl !UnwindSafe for HostEventsControl
impl Freeze for HostEventsControl
impl Send for HostEventsControl
impl Sync for HostEventsControl
impl Unpin for HostEventsControl
impl UnsafeUnpin for HostEventsControl
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