pub struct WorkerPoolSpec {
pub initial_workers: usize,
pub startup_delay_ms: f64,
}Fields§
§initial_workers: usize§startup_delay_ms: f64Trait Implementations§
Source§impl Clone for WorkerPoolSpec
impl Clone for WorkerPoolSpec
Source§fn clone(&self) -> WorkerPoolSpec
fn clone(&self) -> WorkerPoolSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkerPoolSpec
impl Debug for WorkerPoolSpec
Source§impl Default for WorkerPoolSpec
impl Default for WorkerPoolSpec
Source§impl<'de> Deserialize<'de> for WorkerPoolSpec
impl<'de> Deserialize<'de> for WorkerPoolSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkerPoolSpec
impl PartialEq for WorkerPoolSpec
Source§impl Serialize for WorkerPoolSpec
impl Serialize for WorkerPoolSpec
impl StructuralPartialEq for WorkerPoolSpec
Auto Trait Implementations§
impl Freeze for WorkerPoolSpec
impl RefUnwindSafe for WorkerPoolSpec
impl Send for WorkerPoolSpec
impl Sync for WorkerPoolSpec
impl Unpin for WorkerPoolSpec
impl UnsafeUnpin for WorkerPoolSpec
impl UnwindSafe for WorkerPoolSpec
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