pub enum LineError {
Overflow {
scanned: usize,
max: usize,
},
Io(String),
}Expand description
Why a line could not be read within bounds.
Variants§
Overflow
Over the byte bound while scanning for \n — frame_overflow
(§7.6: immediate quarantine, never a window increment).
Io(String)
The stream ended without a newline after it (EOF without the expected reply is a crash, §7.5) or the read failed.
Trait Implementations§
impl Eq for LineError
impl StructuralPartialEq for LineError
Auto Trait Implementations§
impl Forget for LineError
impl Freeze for LineError
impl Move for LineError
impl RefUnwindSafe for LineError
impl Send for LineError
impl Sync for LineError
impl Unpin for LineError
impl UnsafeUnpin for LineError
impl UnwindSafe for LineError
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