pub enum WorkerStateView {
Idle,
Traveling,
Working,
Resting,
Waiting,
Strike,
Dismissed,
}Expand description
Hired worker FSM state on the wire.
Variants§
Trait Implementations§
Source§impl Clone for WorkerStateView
impl Clone for WorkerStateView
Source§fn clone(&self) -> WorkerStateView
fn clone(&self) -> WorkerStateView
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 moreimpl Copy for WorkerStateView
Source§impl Debug for WorkerStateView
impl Debug for WorkerStateView
Source§impl<'de> Deserialize<'de> for WorkerStateView
impl<'de> Deserialize<'de> for WorkerStateView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkerStateView
Source§impl PartialEq for WorkerStateView
impl PartialEq for WorkerStateView
Source§impl Serialize for WorkerStateView
impl Serialize for WorkerStateView
impl StructuralPartialEq for WorkerStateView
Auto Trait Implementations§
impl Freeze for WorkerStateView
impl RefUnwindSafe for WorkerStateView
impl Send for WorkerStateView
impl Sync for WorkerStateView
impl Unpin for WorkerStateView
impl UnsafeUnpin for WorkerStateView
impl UnwindSafe for WorkerStateView
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