pub struct Frame {
pub size: u64,
}Expand description
A chunk of data with an upfront size.
Fields§
§size: u64Implementations§
Source§impl Frame
impl Frame
Sourcepub fn produce(self) -> Produce<FrameProducer, FrameConsumer>
pub fn produce(self) -> Produce<FrameProducer, FrameConsumer>
Create a new producer and consumer for the frame.
Trait Implementations§
Source§impl From<Frame> for FrameProducer
impl From<Frame> for FrameProducer
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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