pub enum Stopping {
WaitsForJobs,
LeavesJobs,
KillsJobs,
Unknown,
}Expand description
How a stopping daemon treats running jobs (ADR 0091).
Variants§
WaitsForJobs
runnerd stop: it waits for running jobs, then removes every runner.
LeavesJobs
A signal: it removes idle runners and leaves running jobs to the next start.
KillsJobs
runnerd stop --force or a second signal: it kills running jobs.
Unknown
A kind of stop from a newer daemon than this client knows, so one added later does not keep the client from reading the status.
Implementations§
Trait Implementations§
impl Copy for Stopping
Source§impl<'de> Deserialize<'de> for Stopping
impl<'de> Deserialize<'de> for Stopping
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 Stopping
impl StructuralPartialEq for Stopping
Auto Trait Implementations§
impl Forget for Stopping
impl Freeze for Stopping
impl Move for Stopping
impl RefUnwindSafe for Stopping
impl Send for Stopping
impl Sync for Stopping
impl Unpin for Stopping
impl UnsafeUnpin for Stopping
impl UnwindSafe for Stopping
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.