pub enum OnCompletion {
None,
Delete,
}
Expand description
What to do to a final task and its descendents when it they complete.
WARNING: If you specify Delete
, then you will not be able to poll for completion, since a
non-existent entity is assumed to be “incomplete.”
Variants§
Trait Implementations§
Source§impl Clone for OnCompletion
impl Clone for OnCompletion
Source§fn clone(&self) -> OnCompletion
fn clone(&self) -> OnCompletion
Returns a copy 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 OnCompletion
impl Debug for OnCompletion
Source§impl Default for OnCompletion
impl Default for OnCompletion
Source§impl PartialEq for OnCompletion
impl PartialEq for OnCompletion
impl Copy for OnCompletion
impl Eq for OnCompletion
impl StructuralPartialEq for OnCompletion
Auto Trait Implementations§
impl Freeze for OnCompletion
impl RefUnwindSafe for OnCompletion
impl Send for OnCompletion
impl Sync for OnCompletion
impl Unpin for OnCompletion
impl UnwindSafe for OnCompletion
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<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.