pub enum RetireOutcome {
Retired,
WouldRetire,
AlreadyRetired,
Kept,
Incomplete,
}Expand description
What a retirement did.
Variants§
Retired
Every copy was deleted.
WouldRetire
A dry run: every copy would have been deleted.
AlreadyRetired
Nothing holds the branch any more, and a retirement of it is recorded.
Kept
Its class does not permit what was asked, so nothing was deleted.
Incomplete
Some copies were deleted and at least one was not; a re-run finishes it.
Implementations§
Trait Implementations§
Source§impl Clone for RetireOutcome
impl Clone for RetireOutcome
impl Copy for RetireOutcome
Source§impl Debug for RetireOutcome
impl Debug for RetireOutcome
Source§impl<'de> Deserialize<'de> for RetireOutcome
impl<'de> Deserialize<'de> for RetireOutcome
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 RetireOutcome
Source§impl PartialEq for RetireOutcome
impl PartialEq for RetireOutcome
Source§impl Serialize for RetireOutcome
impl Serialize for RetireOutcome
impl StructuralPartialEq for RetireOutcome
Auto Trait Implementations§
impl Freeze for RetireOutcome
impl RefUnwindSafe for RetireOutcome
impl Send for RetireOutcome
impl Sync for RetireOutcome
impl Unpin for RetireOutcome
impl UnsafeUnpin for RetireOutcome
impl UnwindSafe for RetireOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.