pub enum InspectError<T: Clone + PartialEq> {
SyscallFailure,
ReadFailure {
errno: Errno,
incomplete: Option<T>,
},
DependencyInspectFailure {
field: &'static str,
},
}Variants§
SyscallFailure
The syscall failed thus the sysexit-stop inspection is not done.
ReadFailure
failed when trying to inspect the tracee memory.
DependencyInspectFailure
A dependency inspection of this inspection failed.
Implementations§
Source§impl<T: Clone + PartialEq> InspectError<T>
impl<T: Clone + PartialEq> InspectError<T>
pub fn map_ptrace_failure<U: Clone + PartialEq, F: FnOnce(T) -> U>( self, f: F, ) -> InspectError<U>
Trait Implementations§
Source§impl<T: Clone + Clone + PartialEq> Clone for InspectError<T>
impl<T: Clone + Clone + PartialEq> Clone for InspectError<T>
Source§fn clone(&self) -> InspectError<T>
fn clone(&self) -> InspectError<T>
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 moreimpl<T: Clone + PartialEq> StructuralPartialEq for InspectError<T>
Auto Trait Implementations§
impl<T> Freeze for InspectError<T>where
T: Freeze,
impl<T> RefUnwindSafe for InspectError<T>where
T: RefUnwindSafe,
impl<T> Send for InspectError<T>where
T: Send,
impl<T> Sync for InspectError<T>where
T: Sync,
impl<T> Unpin for InspectError<T>where
T: Unpin,
impl<T> UnwindSafe for InspectError<T>where
T: UnwindSafe,
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