Variants
Wait
Need more bytes
End(usize)
Data ending dot has been found (\r\n.\r\n => 5)
Escape(usize)
Escaping dot has been found at position (\r\n..\r\n => 2)
LF
Line feed was found and can be consumed => nl
CRLF
Carriage return and line feed were found and can be consumed => nl
GoOn
It’s not a dot situation at all
Trait Implementations
impl Eq for DotState
impl StructuralEq for DotState
impl StructuralPartialEq for DotState
Auto Trait Implementations
impl RefUnwindSafe for DotState
impl Send for DotState
impl Sync for DotState
impl Unpin for DotState
impl UnwindSafe for DotState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more