enum WorkerStopReason {
Sleep,
Kill,
}Variants§
Trait Implementations§
Source§impl Clone for WorkerStopReason
impl Clone for WorkerStopReason
Source§fn clone(&self) -> WorkerStopReason
fn clone(&self) -> WorkerStopReason
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorkerStopReason
Auto Trait Implementations§
impl Freeze for WorkerStopReason
impl RefUnwindSafe for WorkerStopReason
impl Send for WorkerStopReason
impl Sync for WorkerStopReason
impl Unpin for WorkerStopReason
impl UnwindSafe for WorkerStopReason
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