pub enum OnRunCompleted {
Delete,
Keep,
}Expand description
What to do with the thread after the run completes. ‘delete’ removes the thread after execution. ‘keep’ creates a new thread for each execution but does not clean them up.
Variants§
Trait Implementations§
Source§impl Clone for OnRunCompleted
impl Clone for OnRunCompleted
Source§fn clone(&self) -> OnRunCompleted
fn clone(&self) -> OnRunCompleted
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 OnRunCompleted
impl Debug for OnRunCompleted
Source§impl Default for OnRunCompleted
impl Default for OnRunCompleted
Source§fn default() -> OnRunCompleted
fn default() -> OnRunCompleted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnRunCompleted
impl<'de> Deserialize<'de> for OnRunCompleted
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
Source§impl Hash for OnRunCompleted
impl Hash for OnRunCompleted
Source§impl Ord for OnRunCompleted
impl Ord for OnRunCompleted
Source§fn cmp(&self, other: &OnRunCompleted) -> Ordering
fn cmp(&self, other: &OnRunCompleted) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OnRunCompleted
impl PartialEq for OnRunCompleted
Source§impl PartialOrd for OnRunCompleted
impl PartialOrd for OnRunCompleted
Source§impl Serialize for OnRunCompleted
impl Serialize for OnRunCompleted
impl Copy for OnRunCompleted
impl Eq for OnRunCompleted
impl StructuralPartialEq for OnRunCompleted
Auto Trait Implementations§
impl Freeze for OnRunCompleted
impl RefUnwindSafe for OnRunCompleted
impl Send for OnRunCompleted
impl Sync for OnRunCompleted
impl Unpin for OnRunCompleted
impl UnwindSafe for OnRunCompleted
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.