pub struct FilteredSubscription<F> { /* private fields */ }Available on crate feature
events only.Expand description
A filtered event subscription
Implementations§
Source§impl<F> FilteredSubscription<F>
impl<F> FilteredSubscription<F>
Sourcepub async fn recv(&mut self) -> Option<CommerceEvent>
pub async fn recv(&mut self) -> Option<CommerceEvent>
Receive the next event matching the filter
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for FilteredSubscription<F>where
F: Freeze,
impl<F> RefUnwindSafe for FilteredSubscription<F>where
F: RefUnwindSafe,
impl<F> Send for FilteredSubscription<F>where
F: Send,
impl<F> Sync for FilteredSubscription<F>where
F: Sync,
impl<F> Unpin for FilteredSubscription<F>where
F: Unpin,
impl<F> UnsafeUnpin for FilteredSubscription<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FilteredSubscription<F>where
F: UnwindSafe,
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