pub struct SessionsConsumer { /* private fields */ }Expand description
A merged reader over one sessions track across every node in the group; see
TrafficConsumer.
Implementations§
Source§impl SessionsConsumer
impl SessionsConsumer
Sourcepub async fn next(&mut self) -> Result<Option<SessionsFrame>>
pub async fn next(&mut self) -> Result<Option<SessionsFrame>>
The next merged frame, or None once the announce stream ends.
Auto Trait Implementations§
impl Freeze for SessionsConsumer
impl RefUnwindSafe for SessionsConsumer
impl Send for SessionsConsumer
impl Sync for SessionsConsumer
impl Unpin for SessionsConsumer
impl UnsafeUnpin for SessionsConsumer
impl UnwindSafe for SessionsConsumer
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