pub struct OrderPoolFactory;Expand description
Factory for creating order pools
Implementations§
Source§impl OrderPoolFactory
impl OrderPoolFactory
Sourcepub fn create<T: Poolable + Clone>() -> OrderPoolTemplate<T>
pub fn create<T: Poolable + Clone>() -> OrderPoolTemplate<T>
Create a new order pool for the given order type
Sourcepub fn create_with_capacity<T: Poolable + Clone>(
capacity: usize,
) -> OrderPoolTemplate<T>
pub fn create_with_capacity<T: Poolable + Clone>( capacity: usize, ) -> OrderPoolTemplate<T>
Create a new order pool with specified capacity
Auto Trait Implementations§
impl Freeze for OrderPoolFactory
impl RefUnwindSafe for OrderPoolFactory
impl Send for OrderPoolFactory
impl Sync for OrderPoolFactory
impl Unpin for OrderPoolFactory
impl UnwindSafe for OrderPoolFactory
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