pub enum ThreadDropDisposition {
RefuseCurrentCheckout,
ProceedDeleteMissing,
NotFound,
Drop(ThreadDropPlan),
}Expand description
Outcome of pure drop planning before any mutation.
Variants§
RefuseCurrentCheckout
Missing record, attached as current checkout, no --delete-thread.
ProceedDeleteMissing
Missing record with --delete-thread: fall through to thread delete.
NotFound
Missing record and not recoverable via delete.
Drop(ThreadDropPlan)
Record exists: perform the planned tear-down steps.
Trait Implementations§
Source§impl Clone for ThreadDropDisposition
impl Clone for ThreadDropDisposition
Source§fn clone(&self) -> ThreadDropDisposition
fn clone(&self) -> ThreadDropDisposition
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 moreSource§impl Debug for ThreadDropDisposition
impl Debug for ThreadDropDisposition
impl Eq for ThreadDropDisposition
Source§impl PartialEq for ThreadDropDisposition
impl PartialEq for ThreadDropDisposition
impl StructuralPartialEq for ThreadDropDisposition
Auto Trait Implementations§
impl Freeze for ThreadDropDisposition
impl RefUnwindSafe for ThreadDropDisposition
impl Send for ThreadDropDisposition
impl Sync for ThreadDropDisposition
impl Unpin for ThreadDropDisposition
impl UnsafeUnpin for ThreadDropDisposition
impl UnwindSafe for ThreadDropDisposition
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