Struct fpool::ItemHandle[][src]

pub struct ItemHandle<T> { /* fields omitted */ }

A handle to the item. Implements Deref and DerefMut for the item, and also allows you to invalidate the item.

Methods

impl<T> ItemHandle<T>
[src]

Invalidate this item, it will be re-constructed on next retrieval.

Trait Implementations

impl<T: Debug> Debug for ItemHandle<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Deref for ItemHandle<T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<T> DerefMut for ItemHandle<T>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<T> Send for ItemHandle<T> where
    T: Send

impl<T> Sync for ItemHandle<T> where
    T: Sync