Struct mempool::Guard [] [src]

pub struct Guard<T: Send + 'static> {
    // some fields omitted
}

A guard for putting values back into the pool on drop.

Trait Implementations

impl<T: Send + 'static> Drop for Guard<T>

fn drop(&mut self)

impl<T: Send + 'static> Deref for Guard<T>

type Target = T

fn deref(&self) -> &T

impl<T: Send + 'static> DerefMut for Guard<T>

fn deref_mut(&mut self) -> &mut T

Derived Implementations

impl<T: Debug + Send + 'static> Debug for Guard<T>

fn fmt(&self, __arg_0: &mut Formatter) -> Result