pub struct NativeEventSubscription { /* private fields */ }Expand description
Filtered native subscription for one application event name.
Implementations§
Source§impl NativeEventSubscription
impl NativeEventSubscription
Sourcepub async fn next(&mut self) -> Result<SubscriptionEvent, NativeEventError>
pub async fn next(&mut self) -> Result<SubscriptionEvent, NativeEventError>
Waits for the next matching message or channel lifecycle event.
Auto Trait Implementations§
impl Freeze for NativeEventSubscription
impl RefUnwindSafe for NativeEventSubscription
impl Send for NativeEventSubscription
impl Sync for NativeEventSubscription
impl Unpin for NativeEventSubscription
impl UnsafeUnpin for NativeEventSubscription
impl UnwindSafe for NativeEventSubscription
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