[][src]Struct win_mem::snapshot::Snapshot

pub struct Snapshot(_);

A Snapshot handle

Implementations

impl Snapshot[src]

pub fn process() -> Self[src]

Creates a snapshot handle to parse into [Process32First(W)] and [Process32Next(W)]

pub fn module(process: &Process) -> Self[src]

Creates a snapshot handle to parse into [Module32First(W)] and [Module32Next(W)]

pub fn handle(&self) -> HANDLE[src]

Returns the handle created by CreateToolhelp32Snapshot

Trait Implementations

impl Drop for Snapshot[src]

Close the Snapshot handle when variable goes out of scope so we don't have to worry about closing it ourselves

Auto Trait Implementations

impl RefUnwindSafe for Snapshot

impl !Send for Snapshot

impl !Sync for Snapshot

impl Unpin for Snapshot

impl UnwindSafe for Snapshot

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.