[][src]Struct ferrisetw::trace::KernelTrace

pub struct KernelTrace { /* fields omitted */ }
[]

Kernel Trace struct

Implementations

impl KernelTrace[src][]

pub fn new() -> Self[src][]

Use the new function to create a KernelTrace builder

Example

let user_trace = KernelTrace::new();

Trait Implementations

impl Drop for KernelTrace[src][+]

On drop the ETW session will be stopped if not stopped before

impl TraceBaseTrait for KernelTrace[src][+]

impl TraceTrait for KernelTrace[src][+]

fn named(self, name: String) -> Self[src][]

See TraceTrait::named

Remarks

On Windows Versions older than Win8 this method won't change the trace name. In those versions the trace name need to be set to "NT Kernel Logger", that's handled by the module

Auto Trait Implementations

impl RefUnwindSafe for KernelTrace

impl Send for KernelTrace

impl Sync for KernelTrace

impl Unpin for KernelTrace

impl UnwindSafe for KernelTrace

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[+]