pub enum DeclarationLifetime {
Retained,
RemoveWhenStopped,
}Expand description
Whether a stopped declaration remains in the bounded registry.
Variants§
Retained
Keep callback authority available for a later ensure request.
RemoveWhenStopped
Remove the declaration after terminal completion or cancellation.
Trait Implementations§
Source§impl Clone for DeclarationLifetime
impl Clone for DeclarationLifetime
Source§fn clone(&self) -> DeclarationLifetime
fn clone(&self) -> DeclarationLifetime
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 DeclarationLifetime
Source§impl Debug for DeclarationLifetime
impl Debug for DeclarationLifetime
impl Eq for DeclarationLifetime
Source§impl Hash for DeclarationLifetime
impl Hash for DeclarationLifetime
Source§impl Ord for DeclarationLifetime
impl Ord for DeclarationLifetime
Source§fn cmp(&self, other: &DeclarationLifetime) -> Ordering
fn cmp(&self, other: &DeclarationLifetime) -> Ordering
1.21.0 (const: unstable) · 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 DeclarationLifetime
impl PartialEq for DeclarationLifetime
Source§impl PartialOrd for DeclarationLifetime
impl PartialOrd for DeclarationLifetime
impl StructuralPartialEq for DeclarationLifetime
Auto Trait Implementations§
impl Freeze for DeclarationLifetime
impl RefUnwindSafe for DeclarationLifetime
impl Send for DeclarationLifetime
impl Sync for DeclarationLifetime
impl Unpin for DeclarationLifetime
impl UnsafeUnpin for DeclarationLifetime
impl UnwindSafe for DeclarationLifetime
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