pub struct WorkerState {
pub active_instances: isize,
pub capacity: isize,
pub done: bool,
}Fields§
§active_instances: isize§capacity: isize§done: boolTrait Implementations§
Source§impl Default for WorkerState
impl Default for WorkerState
Source§fn default() -> WorkerState
fn default() -> WorkerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkerState
impl RefUnwindSafe for WorkerState
impl Send for WorkerState
impl Sync for WorkerState
impl Unpin for WorkerState
impl UnwindSafe for WorkerState
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