[−][src]Struct byte_pool::Block
The value returned by an allocation of the pool. When it is dropped the memory gets returned into the pool, and is not zeroed. If that is a concern, you must clear the data yourself.
Methods
impl<'a, T: Poolable> Block<'a, T>[src]
impl<'a, T: Poolable + Realloc> Block<'a, T>[src]
Trait Implementations
impl<'_, T: Poolable + Debug> Debug for Block<'_, T>[src]
impl<'a, T: Poolable> Deref for Block<'a, T>[src]
impl<'a, T: Poolable> DerefMut for Block<'a, T>[src]
impl<'a, T: Poolable> Drop for Block<'a, T>[src]
impl<'a, T: StableDeref + Poolable> StableDeref for Block<'a, T>[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Block<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for Block<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Block<'a, T> where
T: Send + Sync,
T: Send + Sync,
impl<'a, T> Unpin for Block<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for Block<'a, T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,