pub enum AddrLocation {
Heap,
InaccessibleHeap,
StackGuard,
Stack,
Globals,
SigStackGuard,
SigStack,
Unknown,
}
Variants§
Implementations§
Source§impl AddrLocation
impl AddrLocation
Sourcepub fn is_fault_fatal(self) -> bool
pub fn is_fault_fatal(self) -> bool
If a fault occurs in this location, is it fatal to the entire process?
This is currently a permissive baseline that only returns true for unknown locations and the
signal stack guard, in case a Region
implementation uses faults to populate the accessible
locations like the heap and the globals.
Trait Implementations§
Source§impl Clone for AddrLocation
impl Clone for AddrLocation
Source§fn clone(&self) -> AddrLocation
fn clone(&self) -> AddrLocation
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 AddrLocation
impl Debug for AddrLocation
Source§impl PartialEq for AddrLocation
impl PartialEq for AddrLocation
impl Copy for AddrLocation
impl Eq for AddrLocation
impl StructuralPartialEq for AddrLocation
Auto Trait Implementations§
impl Freeze for AddrLocation
impl RefUnwindSafe for AddrLocation
impl Send for AddrLocation
impl Sync for AddrLocation
impl Unpin for AddrLocation
impl UnwindSafe for AddrLocation
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