Struct AsmError
pub struct AsmError {
pub line: usize,
pub kind: AsmErrorKind,
}Expand description
What went wrong, and where.
Fields§
§line: usizeSource line number, counting from 1.
kind: AsmErrorKindWhat went wrong.
Trait Implementations§
impl Eq for AsmError
§impl Error for AsmError
impl Error for AsmError
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 AsmError
Auto Trait Implementations§
impl Freeze for AsmError
impl RefUnwindSafe for AsmError
impl Send for AsmError
impl Sync for AsmError
impl Unpin for AsmError
impl UnsafeUnpin for AsmError
impl UnwindSafe for AsmError
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