pub struct Step {
pub consumed: usize,
pub frame: Option<Frame>,
}Expand description
How much of a buffer FrameDecoder::feed used, and what it completed.
Fields§
§consumed: usizeBytes of the buffer that belong to the decoder now; consume them.
frame: Option<Frame>A completed line or an overflow, if any.
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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