pub enum TerminateOutcome {
Removed,
AlreadyGone,
}Expand description
What terminate found: the container it removed, or one already gone.
Variants§
Removed
The exact container was removed by this call.
AlreadyGone
The container was already gone; teardown stays idempotent.
Trait Implementations§
Source§impl Clone for TerminateOutcome
impl Clone for TerminateOutcome
impl Copy for TerminateOutcome
Source§impl Debug for TerminateOutcome
impl Debug for TerminateOutcome
impl Eq for TerminateOutcome
Source§impl PartialEq for TerminateOutcome
impl PartialEq for TerminateOutcome
impl StructuralPartialEq for TerminateOutcome
Auto Trait Implementations§
impl Forget for TerminateOutcome
impl Freeze for TerminateOutcome
impl Move for TerminateOutcome
impl RefUnwindSafe for TerminateOutcome
impl Send for TerminateOutcome
impl Sync for TerminateOutcome
impl Unpin for TerminateOutcome
impl UnsafeUnpin for TerminateOutcome
impl UnwindSafe for TerminateOutcome
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> 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.