Struct twizzler_abi::upcall::MemoryContextViolationInfo
source · #[repr(C)]pub struct MemoryContextViolationInfo {
pub address: u64,
pub kind: MemoryAccessKind,
}
Expand description
Information about a non-object-related memory access violation.
Fields§
§address: u64
The virtual address that caused the exception.
kind: MemoryAccessKind
The kind of memory access.
Implementations§
source§impl MemoryContextViolationInfo
impl MemoryContextViolationInfo
pub fn new(address: u64, kind: MemoryAccessKind) -> Self
Trait Implementations§
source§impl Clone for MemoryContextViolationInfo
impl Clone for MemoryContextViolationInfo
source§fn clone(&self) -> MemoryContextViolationInfo
fn clone(&self) -> MemoryContextViolationInfo
Returns a copy 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 MemoryContextViolationInfo
impl Debug for MemoryContextViolationInfo
source§impl Ord for MemoryContextViolationInfo
impl Ord for MemoryContextViolationInfo
source§fn cmp(&self, other: &MemoryContextViolationInfo) -> Ordering
fn cmp(&self, other: &MemoryContextViolationInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MemoryContextViolationInfo> for MemoryContextViolationInfo
impl PartialEq<MemoryContextViolationInfo> for MemoryContextViolationInfo
source§fn eq(&self, other: &MemoryContextViolationInfo) -> bool
fn eq(&self, other: &MemoryContextViolationInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MemoryContextViolationInfo> for MemoryContextViolationInfo
impl PartialOrd<MemoryContextViolationInfo> for MemoryContextViolationInfo
source§fn partial_cmp(&self, other: &MemoryContextViolationInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryContextViolationInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MemoryContextViolationInfo
impl Eq for MemoryContextViolationInfo
impl StructuralEq for MemoryContextViolationInfo
impl StructuralPartialEq for MemoryContextViolationInfo
Auto Trait Implementations§
impl ObjSafe for MemoryContextViolationInfo
impl RefUnwindSafe for MemoryContextViolationInfo
impl Send for MemoryContextViolationInfo
impl Sync for MemoryContextViolationInfo
impl Unpin for MemoryContextViolationInfo
impl UnwindSafe for MemoryContextViolationInfo
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