pub struct ScanError {
pub kind: ScanErrorKind,
pub span: Span,
}Expand description
Scanner error
Fields§
§kind: ScanErrorKindThe error kind
span: SpanSource span
Trait Implementations§
Source§impl From<ScanError> for AdapterError
impl From<ScanError> for AdapterError
Source§impl From<ScanError> for ReaderError
impl From<ScanError> for ReaderError
impl StructuralPartialEq for ScanError
Auto Trait Implementations§
impl Freeze for ScanError
impl RefUnwindSafe for ScanError
impl Send for ScanError
impl Sync for ScanError
impl Unpin for ScanError
impl UnwindSafe for ScanError
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