pub enum LeanWorkerStatus {
Running,
Exited(LeanWorkerExit),
}Expand description
Public lifecycle state for a worker child.
Variants§
Trait Implementations§
Source§impl Clone for LeanWorkerStatus
impl Clone for LeanWorkerStatus
Source§fn clone(&self) -> LeanWorkerStatus
fn clone(&self) -> LeanWorkerStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeanWorkerStatus
impl Debug for LeanWorkerStatus
Source§impl PartialEq for LeanWorkerStatus
impl PartialEq for LeanWorkerStatus
Source§fn eq(&self, other: &LeanWorkerStatus) -> bool
fn eq(&self, other: &LeanWorkerStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerStatus
impl StructuralPartialEq for LeanWorkerStatus
Auto Trait Implementations§
impl Freeze for LeanWorkerStatus
impl RefUnwindSafe for LeanWorkerStatus
impl Send for LeanWorkerStatus
impl Sync for LeanWorkerStatus
impl Unpin for LeanWorkerStatus
impl UnsafeUnpin for LeanWorkerStatus
impl UnwindSafe for LeanWorkerStatus
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