Enum mailstrom::WorkerStatus
source · [−]#[repr(u8)]
pub enum WorkerStatus {
Ok,
Terminated,
ChannelDisconnected,
LockPoisoned,
StorageWriteFailed,
StorageReadFailed,
ResolverCreationFailed,
Unknown,
}
Variants
Ok
Terminated
ChannelDisconnected
LockPoisoned
StorageWriteFailed
StorageReadFailed
ResolverCreationFailed
Unknown
Implementations
sourceimpl WorkerStatus
impl WorkerStatus
pub fn from_u8(value: u8) -> WorkerStatus
Trait Implementations
sourceimpl Clone for WorkerStatus
impl Clone for WorkerStatus
sourcefn clone(&self) -> WorkerStatus
fn clone(&self) -> WorkerStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WorkerStatus
impl Debug for WorkerStatus
sourceimpl PartialEq<WorkerStatus> for WorkerStatus
impl PartialEq<WorkerStatus> for WorkerStatus
impl Copy for WorkerStatus
impl StructuralPartialEq for WorkerStatus
Auto Trait Implementations
impl RefUnwindSafe for WorkerStatus
impl Send for WorkerStatus
impl Sync for WorkerStatus
impl Unpin for WorkerStatus
impl UnwindSafe for WorkerStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more