pub enum NativeWorkerStatus {
Running,
Stopped,
Failed(String),
}Expand description
Lifecycle state of the dedicated native worker thread.
Variants§
Running
The worker is accepting and processing commands.
Stopped
The worker shut down normally.
Failed(String)
The worker terminated with an error or panic message.
Trait Implementations§
Source§impl Clone for NativeWorkerStatus
impl Clone for NativeWorkerStatus
Source§fn clone(&self) -> NativeWorkerStatus
fn clone(&self) -> NativeWorkerStatus
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 NativeWorkerStatus
impl Debug for NativeWorkerStatus
Source§impl PartialEq for NativeWorkerStatus
impl PartialEq for NativeWorkerStatus
Source§fn eq(&self, other: &NativeWorkerStatus) -> bool
fn eq(&self, other: &NativeWorkerStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeWorkerStatus
impl StructuralPartialEq for NativeWorkerStatus
Auto Trait Implementations§
impl Freeze for NativeWorkerStatus
impl RefUnwindSafe for NativeWorkerStatus
impl Send for NativeWorkerStatus
impl Sync for NativeWorkerStatus
impl Unpin for NativeWorkerStatus
impl UnsafeUnpin for NativeWorkerStatus
impl UnwindSafe for NativeWorkerStatus
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