pub struct ErrorCapture {
pub kind: BusErrorKind,
pub position: ErrorPosition,
}Available on crate feature
unstable only.Expand description
Details of the last bus error the core captured.
The registers behind this are not cleared, so the value is only meaningful
after a bus error. Out of reset it reads as BusErrorKind::Bit at
ErrorPosition::Other.
Fields§
§kind: BusErrorKindWhat went wrong.
position: ErrorPositionWhere in the frame it happened.
Trait Implementations§
Source§impl Clone for ErrorCapture
impl Clone for ErrorCapture
impl Copy for ErrorCapture
Source§impl Debug for ErrorCapture
impl Debug for ErrorCapture
impl Eq for ErrorCapture
Source§impl Hash for ErrorCapture
impl Hash for ErrorCapture
Source§impl PartialEq for ErrorCapture
impl PartialEq for ErrorCapture
impl StructuralPartialEq for ErrorCapture
Auto Trait Implementations§
impl Freeze for ErrorCapture
impl RefUnwindSafe for ErrorCapture
impl Send for ErrorCapture
impl Sync for ErrorCapture
impl Unpin for ErrorCapture
impl UnsafeUnpin for ErrorCapture
impl UnwindSafe for ErrorCapture
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)