pub struct MemberSubscriptions { /* private fields */ }Expand description
The subscriptions to one member’s broadcast, one after another, from Room::subscriptions.
Implementations§
Source§impl MemberSubscriptions
impl MemberSubscriptions
Sourcepub async fn next(&mut self) -> Option<Subscription>
pub async fn next(&mut self) -> Option<Subscription>
Waits for the previous subscription to close, and returns the next one.
Returns None once the subscriptions end, as
Room::subscriptions describes. Not cancellation safe: a cancelled
call may drop a subscription it just made, and waits through the
previous one again.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MemberSubscriptions
impl !UnwindSafe for MemberSubscriptions
impl Freeze for MemberSubscriptions
impl Send for MemberSubscriptions
impl Sync for MemberSubscriptions
impl Unpin for MemberSubscriptions
impl UnsafeUnpin for MemberSubscriptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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