pub enum SupervisorStatus {
Busy {
job_id: Uuid,
job_state: RunningJobState,
},
BusyDisconnected {
job_id: Uuid,
job_state: RunningJobState,
},
Idle,
Disconnected,
}Expand description
Note the difference with switchboard_supervisor’s
SupervisorStatus: that one is concerned
solely primarily with over-the-wire communication, so it does not have ‘Disconnected’ variants.
However, on the switchboard side, we do need those, hence the differrent set of variants.
Variants§
Trait Implementations§
Source§impl Clone for SupervisorStatus
impl Clone for SupervisorStatus
Source§fn clone(&self) -> SupervisorStatus
fn clone(&self) -> SupervisorStatus
Returns a duplicate 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 moreSource§impl Debug for SupervisorStatus
impl Debug for SupervisorStatus
Source§impl<'de> Deserialize<'de> for SupervisorStatus
impl<'de> Deserialize<'de> for SupervisorStatus
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
Auto Trait Implementations§
impl Freeze for SupervisorStatus
impl RefUnwindSafe for SupervisorStatus
impl Send for SupervisorStatus
impl Sync for SupervisorStatus
impl Unpin for SupervisorStatus
impl UnwindSafe for SupervisorStatus
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