pub struct GroupProducer {
pub info: Group,
/* private fields */
}
Expand description
Create a group, frame-by-frame.
Fields§
§info: Group
Implementations§
Source§impl GroupProducer
impl GroupProducer
pub fn write_frame<B: Into<Bytes>>(&mut self, frame: B)
pub fn create_frame(&mut self, size: usize) -> FrameProducer
pub fn frame_count(&self) -> usize
Sourcepub fn subscribe(&self) -> GroupConsumer
pub fn subscribe(&self) -> GroupConsumer
Create a new consumer for the group.
Trait Implementations§
Source§impl Clone for GroupProducer
impl Clone for GroupProducer
Source§fn clone(&self) -> GroupProducer
fn clone(&self) -> GroupProducer
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 GroupProducer
impl RefUnwindSafe for GroupProducer
impl Send for GroupProducer
impl Sync for GroupProducer
impl Unpin for GroupProducer
impl UnwindSafe for GroupProducer
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