pub struct XrefError {
pub offset: usize,
pub kind: XrefErrorKind,
}Expand description
A cross-reference-level structural error.
Fields§
§offset: usizeByte offset where the problem was detected.
kind: XrefErrorKindWhat was wrong.
Trait Implementations§
Source§impl Error for XrefError
impl Error for XrefError
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()
impl StructuralPartialEq for XrefError
Auto Trait Implementations§
impl Forget for XrefError
impl Freeze for XrefError
impl Move for XrefError
impl RefUnwindSafe for XrefError
impl Send for XrefError
impl Sync for XrefError
impl Unpin for XrefError
impl UnsafeUnpin for XrefError
impl UnwindSafe for XrefError
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