pub enum Frame {
Line(Vec<u8>),
TooLarge,
End,
Truncated(Vec<u8>),
}Expand description
One result of decoding.
Variants§
Line(Vec<u8>)
A complete line, without its \n.
TooLarge
A line over the limit.
End
End of input on a line boundary.
Truncated(Vec<u8>)
End of input in the middle of a line; the bytes read so far.
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin 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