#[non_exhaustive]pub struct Segfault {
pub page_address: u32,
pub page_size: u32,
pub is_write_protected: bool,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.page_address: u32The address of the page which was accessed.
page_size: u32The size of the page.
is_write_protected: boolIf true the access was a write to a read-only page which exists.
Trait Implementations§
impl Eq for Segfault
impl StructuralPartialEq for Segfault
Auto Trait Implementations§
impl Freeze for Segfault
impl RefUnwindSafe for Segfault
impl Send for Segfault
impl Sync for Segfault
impl Unpin for Segfault
impl UnwindSafe for Segfault
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