pub struct DefaultPool {
tasks: RefCell<VecDeque<Task>>,
}Fields§
§tasks: RefCell<VecDeque<Task>>Trait Implementations§
Source§impl Default for DefaultPool
impl Default for DefaultPool
Source§fn default() -> DefaultPool
fn default() -> DefaultPool
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for DefaultPool
impl !RefUnwindSafe for DefaultPool
impl !Send for DefaultPool
impl !Sync for DefaultPool
impl Unpin for DefaultPool
impl UnsafeUnpin for DefaultPool
impl !UnwindSafe for DefaultPool
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