#[repr(C)]pub struct worker {Show 14 fields
pub magic: c_uint,
pub strangelove: c_int,
pub wpriv: *mut worker_priv,
pub pool: *mut pool,
pub stats: *mut VSC_main_wrk,
pub vsl: *mut vsl_log,
pub task: [pool_task; 1],
pub lastused: vtim_real,
pub v1l: *mut v1l,
pub cond: pthread_cond_t,
pub aws: [ws; 1],
pub cur_method: c_uint,
pub seen_methods: c_uint,
pub vpi: *mut wrk_vpi,
}Fields§
§magic: c_uint§strangelove: c_int§wpriv: *mut worker_priv§pool: *mut pool§stats: *mut VSC_main_wrk§vsl: *mut vsl_log§task: [pool_task; 1]§lastused: vtim_real§v1l: *mut v1l§cond: pthread_cond_t§aws: [ws; 1]§cur_method: c_uint§seen_methods: c_uint§vpi: *mut wrk_vpiTrait Implementations§
Auto Trait Implementations§
impl Freeze for worker
impl RefUnwindSafe for worker
impl !Send for worker
impl !Sync for worker
impl Unpin for worker
impl UnwindSafe for worker
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