[][src]Struct solana_perf::recycler::Recycler

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

Methods

impl<T: Default + Reset + Sized> Recycler<T>[src]

pub fn warmed(num: usize, size_hint: usize) -> Self[src]

pub fn allocate(&self, name: &'static str) -> T[src]

Trait Implementations

impl<T: Clone> Clone for Recycler<T>[src]

impl<T: Default> Default for Recycler<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Recycler<T>

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

impl<T> Sync for Recycler<T> where
    T: Send

impl<T> Unpin for Recycler<T>

impl<T> UnwindSafe for Recycler<T>

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> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.