pub struct PullLock { /* private fields */ }Expand description
A worker’s claim on a job, held for as long as the worker runs. Dropping it releases the lock, and so does the process ending for any reason, which is what makes a lost worker detectable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PullLock
impl RefUnwindSafe for PullLock
impl Send for PullLock
impl Sync for PullLock
impl Unpin for PullLock
impl UnsafeUnpin for PullLock
impl UnwindSafe for PullLock
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