pub struct RawPinnedPoolBuilder<T> { /* private fields */ }Expand description
Creates an instance of RawPinnedPool.
Implementations§
Source§impl<T> RawPinnedPoolBuilder<T>
impl<T> RawPinnedPoolBuilder<T>
Sourcepub fn drop_policy(self, drop_policy: DropPolicy) -> Self
pub fn drop_policy(self, drop_policy: DropPolicy) -> Self
Defines the drop policy for the pool. Optional.
Sourcepub fn build(self) -> RawPinnedPool<T>
pub fn build(self) -> RawPinnedPool<T>
Validates the options and creates the pool.
Trait Implementations§
Source§impl<T: Debug> Debug for RawPinnedPoolBuilder<T>
impl<T: Debug> Debug for RawPinnedPoolBuilder<T>
Auto Trait Implementations§
impl<T> Freeze for RawPinnedPoolBuilder<T>
impl<T> RefUnwindSafe for RawPinnedPoolBuilder<T>where
T: RefUnwindSafe,
impl<T> !Send for RawPinnedPoolBuilder<T>
impl<T> !Sync for RawPinnedPoolBuilder<T>
impl<T> Unpin for RawPinnedPoolBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for RawPinnedPoolBuilder<T>where
T: UnwindSafe,
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