pub struct SpanError {
pub error: Error,
pub span: Span,
}Expand description
An error that is located by a span
Fields§
§error: ErrorThe source error
span: SpanThe location of the error
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpanError
impl !RefUnwindSafe for SpanError
impl !Send for SpanError
impl !Sync for SpanError
impl Unpin for SpanError
impl !UnwindSafe for SpanError
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