#[non_exhaustive]pub enum RamInspectError {
ProcessTerminated,
FailedToOpenProcMaps,
FailedToPauseProcess,
FailedToResumeProcess,
FailedToReadMem,
FailedToWriteMem,
FailedToOpenDeviceFile,
FailedToAllocateBuffer,
InspectorAlreadyExists,
}Expand description
The error type for this library. The variants have self-explanatory names.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProcessTerminated
FailedToOpenProcMaps
FailedToPauseProcess
FailedToResumeProcess
FailedToReadMem
FailedToWriteMem
FailedToOpenDeviceFile
FailedToAllocateBuffer
InspectorAlreadyExists
Trait Implementations§
Source§impl Clone for RamInspectError
impl Clone for RamInspectError
Source§fn clone(&self) -> RamInspectError
fn clone(&self) -> RamInspectError
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 RamInspectError
impl Debug for RamInspectError
Source§impl Display for RamInspectError
impl Display for RamInspectError
impl Copy for RamInspectError
Auto Trait Implementations§
impl Freeze for RamInspectError
impl RefUnwindSafe for RamInspectError
impl Send for RamInspectError
impl Sync for RamInspectError
impl Unpin for RamInspectError
impl UnwindSafe for RamInspectError
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