pub struct WorkerState { /* private fields */ }Expand description
Per-worker reactor state.
Holds the io_uring ring (Linux) or mio Poll (other Unix), its
op-slot table, and the lock-free queues fibers use to submit/cancel
requests. One of these exists per io-worker thread — see
init_runtime.
Trait Implementations§
impl Send for WorkerState
impl Sync for WorkerState
Auto Trait Implementations§
impl !Freeze for WorkerState
impl !RefUnwindSafe for WorkerState
impl Unpin for WorkerState
impl UnsafeUnpin 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