pub struct WorkerServiceConfig {
pub tick_duration: Duration,
pub min_workers: usize,
pub max_workers: usize,
}Fields§
§tick_duration: Duration§min_workers: usize§max_workers: usizeTrait Implementations§
Source§impl Clone for WorkerServiceConfig
impl Clone for WorkerServiceConfig
Source§fn clone(&self) -> WorkerServiceConfig
fn clone(&self) -> WorkerServiceConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkerServiceConfig
impl Debug for WorkerServiceConfig
Source§impl Default for WorkerServiceConfig
impl Default for WorkerServiceConfig
impl Copy for WorkerServiceConfig
Auto Trait Implementations§
impl Freeze for WorkerServiceConfig
impl RefUnwindSafe for WorkerServiceConfig
impl Send for WorkerServiceConfig
impl Sync for WorkerServiceConfig
impl Unpin for WorkerServiceConfig
impl UnwindSafe for WorkerServiceConfig
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