pub enum SpansKind {
DuplicationError,
Error,
}
Expand description
Indicates how to interpret the spans of an error.
Variants§
DuplicationError
The first span is the first occurrence, and a span for each subsequent occurrence.
Error
Contains a single span at the site of the error.
Auto Trait Implementations§
impl Freeze for SpansKind
impl RefUnwindSafe for SpansKind
impl Send for SpansKind
impl Sync for SpansKind
impl Unpin for SpansKind
impl UnwindSafe for SpansKind
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