pub struct Frames { /* private fields */ }Expand description
Frames read from bytes as they arrive, one by one as read_frame reads
them from a stream. It holds at most one frame’s bytes within the limit,
or a head’s past it: the rest of a frame past the limit is dropped as it
arrives, and the frame is read once the last of it has.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Frames
impl Freeze for Frames
impl Move for Frames
impl RefUnwindSafe for Frames
impl Send for Frameswhere
RawVecInner: Send,
impl Sync for Frameswhere
RawVecInner: Sync,
impl Unpin for Frames
impl UnsafeUnpin for Frames
impl UnwindSafe for Frameswhere
RawVecInner: UnwindSafe,
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