pub enum DebugMetadataError {
SourceTooLarge,
OffsetOutOfBounds,
OffsetNotUtf8Boundary,
LineOrColumnOverflow,
}Expand description
Failures at the source-offset/debug-location boundary.
Variants§
Trait Implementations§
Source§impl Clone for DebugMetadataError
impl Clone for DebugMetadataError
impl Copy for DebugMetadataError
Source§impl Debug for DebugMetadataError
impl Debug for DebugMetadataError
Source§impl Display for DebugMetadataError
impl Display for DebugMetadataError
impl Eq for DebugMetadataError
Source§impl Error for DebugMetadataError
impl Error for DebugMetadataError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DebugMetadataError
impl PartialEq for DebugMetadataError
impl StructuralPartialEq for DebugMetadataError
Auto Trait Implementations§
impl Freeze for DebugMetadataError
impl RefUnwindSafe for DebugMetadataError
impl Send for DebugMetadataError
impl Sync for DebugMetadataError
impl Unpin for DebugMetadataError
impl UnsafeUnpin for DebugMetadataError
impl UnwindSafe for DebugMetadataError
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