pub struct SlabSender<T, const N: usize> { /* private fields */ }Implementations§
Source§impl<T, const N: usize> SlabSender<T, N>
impl<T, const N: usize> SlabSender<T, N>
pub fn insert(&self, item: T) -> Result<SlabHandle, T>
Trait Implementations§
Source§impl<T: Clone, const N: usize> Clone for SlabSender<T, N>
impl<T: Clone, const N: usize> Clone for SlabSender<T, N>
Source§fn clone(&self) -> SlabSender<T, N>
fn clone(&self) -> SlabSender<T, N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T, const N: usize> Freeze for SlabSender<T, N>
impl<T, const N: usize> !RefUnwindSafe for SlabSender<T, N>
impl<T, const N: usize> Send for SlabSender<T, N>where
T: Send,
impl<T, const N: usize> Sync for SlabSender<T, N>where
T: Send,
impl<T, const N: usize> Unpin for SlabSender<T, N>
impl<T, const N: usize> !UnwindSafe for SlabSender<T, N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more