pub enum WriteMemoryError {
NullPointer,
InvalidAlignment,
InvalidAccess,
FailedToChangeProtection,
FailedToRestoreProtection,
}
Variants§
Trait Implementations§
Source§impl Debug for WriteMemoryError
impl Debug for WriteMemoryError
Source§impl Display for WriteMemoryError
impl Display for WriteMemoryError
Source§impl Error for WriteMemoryError
impl Error for WriteMemoryError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for WriteMemoryError
impl PartialEq for WriteMemoryError
impl StructuralPartialEq for WriteMemoryError
Auto Trait Implementations§
impl Freeze for WriteMemoryError
impl RefUnwindSafe for WriteMemoryError
impl Send for WriteMemoryError
impl Sync for WriteMemoryError
impl Unpin for WriteMemoryError
impl UnwindSafe for WriteMemoryError
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