pub struct ExceptionReport {
pub ty: ExceptionType,
pub arch: ExceptionArchData,
}Expand description
Information about an exception that occurred in a process.
Fields§
§ty: ExceptionTypeThe specific type of the exception.
arch: ExceptionArchDataArchitecture-specific information about the exception.
Implementations§
Source§impl ExceptionReport
impl ExceptionReport
Sourcepub unsafe fn from_raw(raw: zx_exception_report_t) -> Self
pub unsafe fn from_raw(raw: zx_exception_report_t) -> Self
§Safety
The provided exception report must have been written by the kernel with the context.arch
field matching the architecture of the current device.
Trait Implementations§
Source§impl Clone for ExceptionReport
impl Clone for ExceptionReport
Source§fn clone(&self) -> ExceptionReport
fn clone(&self) -> ExceptionReport
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 ExceptionReport
impl Debug for ExceptionReport
impl Copy for ExceptionReport
Auto Trait Implementations§
impl Freeze for ExceptionReport
impl RefUnwindSafe for ExceptionReport
impl Send for ExceptionReport
impl Sync for ExceptionReport
impl Unpin for ExceptionReport
impl UnwindSafe for ExceptionReport
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