pub enum Error {
Io(Error),
FromVecWithNul(FromVecWithNulError),
Utf8(Utf8Error),
FromUtf8(FromUtf8Error),
ParseInt(ParseIntError),
InvalidData,
Procmaps(Error),
}Expand description
memhop’s generic Error wrapper
Variants§
Io(Error)
IO error. May include errors such as EACCES on some platforms
FromVecWithNul(FromVecWithNulError)
CString parsing error
Utf8(Utf8Error)
CString parsing error
FromUtf8(FromUtf8Error)
CString parsing error
ParseInt(ParseIntError)
Int parsing error
InvalidData
Invalid data/state encountered when parsing OS-specific data
Procmaps(Error)
Procmaps error
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
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