pub struct AdapterError {
pub kind: AdapterErrorKind,
pub span: Span,
}Expand description
Adapter error (wraps scanner errors).
Fields§
§kind: AdapterErrorKindThe error kind
span: SpanSource span
Trait Implementations§
Source§impl Clone for AdapterError
impl Clone for AdapterError
Source§fn clone(&self) -> AdapterError
fn clone(&self) -> AdapterError
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 AdapterError
impl Debug for AdapterError
Source§impl From<AdapterError> for JsonError
impl From<AdapterError> for JsonError
Source§fn from(err: AdapterError) -> Self
fn from(err: AdapterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdapterError
impl RefUnwindSafe for AdapterError
impl Send for AdapterError
impl Sync for AdapterError
impl Unpin for AdapterError
impl UnwindSafe for AdapterError
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