pub enum SpanSnippetError {
IllFormedSpan(Span),
DistinctSources(DistinctSources),
MalformedForCodemap(MalformedCodemapPositions),
SourceNotAvailable {
filename: String,
},
}
Variants§
IllFormedSpan(Span)
DistinctSources(DistinctSources)
MalformedForCodemap(MalformedCodemapPositions)
SourceNotAvailable
Trait Implementations§
Source§impl Clone for SpanSnippetError
impl Clone for SpanSnippetError
Source§fn clone(&self) -> SpanSnippetError
fn clone(&self) -> SpanSnippetError
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 SpanSnippetError
impl Debug for SpanSnippetError
Source§impl PartialEq for SpanSnippetError
impl PartialEq for SpanSnippetError
impl Eq for SpanSnippetError
impl StructuralPartialEq for SpanSnippetError
Auto Trait Implementations§
impl Freeze for SpanSnippetError
impl RefUnwindSafe for SpanSnippetError
impl Send for SpanSnippetError
impl Sync for SpanSnippetError
impl Unpin for SpanSnippetError
impl UnwindSafe for SpanSnippetError
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