pub enum ScanErrorKind {
UnexpectedChar(char),
UnexpectedEof(&'static str),
InvalidUtf8,
}Expand description
Types of scanner errors
Variants§
UnexpectedChar(char)
Unexpected character
UnexpectedEof(&'static str)
Unexpected end of input (with context)
InvalidUtf8
Invalid UTF-8
Trait Implementations§
Source§impl Clone for ScanErrorKind
impl Clone for ScanErrorKind
Source§fn clone(&self) -> ScanErrorKind
fn clone(&self) -> ScanErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanErrorKind
impl Debug for ScanErrorKind
Source§impl PartialEq for ScanErrorKind
impl PartialEq for ScanErrorKind
impl StructuralPartialEq for ScanErrorKind
Auto Trait Implementations§
impl Freeze for ScanErrorKind
impl RefUnwindSafe for ScanErrorKind
impl Send for ScanErrorKind
impl Sync for ScanErrorKind
impl Unpin for ScanErrorKind
impl UnwindSafe for ScanErrorKind
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