pub struct TypeError {
pub span: Range<usize>,
pub kind: TypeErrorKind,
}
Expand description
An error that may occur while parsing the chunks in a field into a specific
Type
.
Fields§
§span: Range<usize>
Where in the source the error occurred.
kind: TypeErrorKind
What kind of error occurred.
Trait Implementations§
source§impl From<TypeError> for RetrievalError
impl From<TypeError> for RetrievalError
source§impl PartialEq for TypeError
impl PartialEq for TypeError
impl StructuralPartialEq for TypeError
Auto Trait Implementations§
impl RefUnwindSafe for TypeError
impl Send for TypeError
impl Sync for TypeError
impl Unpin for TypeError
impl UnwindSafe for TypeError
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