Struct current::CurrentGuard [] [src]

pub struct CurrentGuard<'a, T> where
    T: Any
{ /* fields omitted */ }

Puts back the previous current pointer.

Methods

impl<'a, T> CurrentGuard<'a, T> where
    T: Any
[src]

Creates a new current guard.

Trait Implementations

impl<'a, T> Drop for CurrentGuard<'a, T> where
    T: Any
[src]

A method called when the value goes out of scope. Read more