[][src]Struct persil::Guard

pub struct Guard<'guard> { /* fields omitted */ }

When a Guard is dropped, it will stop recording the event of the inner profiler.

If profiling is disabled, the Guard struct will do nothing.

Auto Trait Implementations

impl<'guard> RefUnwindSafe for Guard<'guard>

impl<'guard> Send for Guard<'guard>

impl<'guard> Sync for Guard<'guard>

impl<'guard> Unpin for Guard<'guard>

impl<'guard> UnwindSafe for Guard<'guard>

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.