Struct turbulence::buffer::BufferPacketPool
source · [−]pub struct BufferPacketPool<B>(_);
Expand description
Turns a BufferPool
implementation into something that implements PacketPool
.
Implementations
sourceimpl<B> BufferPacketPool<B>
impl<B> BufferPacketPool<B>
Trait Implementations
sourceimpl<B: Clone> Clone for BufferPacketPool<B>
impl<B: Clone> Clone for BufferPacketPool<B>
sourcefn clone(&self) -> BufferPacketPool<B>
fn clone(&self) -> BufferPacketPool<B>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<B: Debug> Debug for BufferPacketPool<B>
impl<B: Debug> Debug for BufferPacketPool<B>
sourceimpl<B: Default> Default for BufferPacketPool<B>
impl<B: Default> Default for BufferPacketPool<B>
sourcefn default() -> BufferPacketPool<B>
fn default() -> BufferPacketPool<B>
Returns the “default value” for a type. Read more
sourceimpl<B: BufferPool> PacketPool for BufferPacketPool<B>
impl<B: BufferPool> PacketPool for BufferPacketPool<B>
impl<B: Copy> Copy for BufferPacketPool<B>
Auto Trait Implementations
impl<B> RefUnwindSafe for BufferPacketPool<B> where
B: RefUnwindSafe,
impl<B> Send for BufferPacketPool<B> where
B: Send,
impl<B> Sync for BufferPacketPool<B> where
B: Sync,
impl<B> Unpin for BufferPacketPool<B> where
B: Unpin,
impl<B> UnwindSafe for BufferPacketPool<B> where
B: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more