pub struct WalkResult<T: Serialize> {
pub items: Vec<T>,
pub skipped: u32,
}Expand description
Output from a walker that may encounter unreadable entries.
Wraps the collected items with a counter of entries that were skipped due to unreadable memory or parse errors. Provides analysts visibility into partial walks (“500/512 processes walked, 12 skipped”).
Fields§
§items: Vec<T>Successfully walked entries.
skipped: u32Number of entries skipped due to unreadable memory or parse errors.
Implementations§
Source§impl<T: Serialize> WalkResult<T>
impl<T: Serialize> WalkResult<T>
Trait Implementations§
Source§impl<T: Clone + Serialize> Clone for WalkResult<T>
impl<T: Clone + Serialize> Clone for WalkResult<T>
Source§fn clone(&self) -> WalkResult<T>
fn clone(&self) -> WalkResult<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for WalkResult<T>
impl<T> RefUnwindSafe for WalkResult<T>where
T: RefUnwindSafe,
impl<T> Send for WalkResult<T>where
T: Send,
impl<T> Sync for WalkResult<T>where
T: Sync,
impl<T> Unpin for WalkResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for WalkResult<T>
impl<T> UnwindSafe for WalkResult<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