pub struct Worker { /* private fields */ }Expand description
An engine on its own thread. The engine is loaded on the first request (and again after a failed load), so creating a worker is cheap. Requests run one at a time, in order.
Implementations§
Auto Trait Implementations§
impl Forget for Worker
impl Freeze for Worker
impl Move for Worker
impl RefUnwindSafe for Worker
impl Send for Worker
impl Sync for Worker
impl Unpin for Worker
impl UnsafeUnpin 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