pub struct GroupConsumer {
pub info: Group,
/* private fields */
}
Expand description
Consume a group, frame-by-frame.
Fields§
§info: Group
Implementations§
Source§impl GroupConsumer
impl GroupConsumer
pub async fn read_frame(&mut self) -> Result<Option<Bytes>, Error>
pub async fn next_frame(&mut self) -> Result<Option<FrameConsumer>, Error>
pub fn frame_index(&self) -> usize
pub fn frame_count(&self) -> usize
pub async fn closed(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for GroupConsumer
impl Clone for GroupConsumer
Source§fn clone(&self) -> GroupConsumer
fn clone(&self) -> GroupConsumer
Returns a copy of the value. Read more
1.0.0 · 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 Freeze for GroupConsumer
impl RefUnwindSafe for GroupConsumer
impl Send for GroupConsumer
impl Sync for GroupConsumer
impl Unpin for GroupConsumer
impl UnwindSafe for GroupConsumer
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