pub struct PreparedWorktreeHydrationCandidate { /* private fields */ }Expand description
Fully verified target-local hydration candidate awaiting only no-clobber publication.
Implementations§
Source§impl PreparedWorktreeHydrationCandidate
impl PreparedWorktreeHydrationCandidate
Sourcepub fn activate(
self,
control: &IndexWorkControl,
) -> DbResult<WorktreeHydrationActivation>
pub fn activate( self, control: &IndexWorkControl, ) -> DbResult<WorktreeHydrationActivation>
Publish the already verified candidate without replacing an existing destination.
§Errors
Returns an error on cancellation, a publication collision, or an I/O failure. Failure preserves an existing destination. A directory-sync failure leaves the newly published database intact but prevents callers from binding it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedWorktreeHydrationCandidate
impl RefUnwindSafe for PreparedWorktreeHydrationCandidate
impl Send for PreparedWorktreeHydrationCandidate
impl Sync for PreparedWorktreeHydrationCandidate
impl Unpin for PreparedWorktreeHydrationCandidate
impl UnsafeUnpin for PreparedWorktreeHydrationCandidate
impl UnwindSafe for PreparedWorktreeHydrationCandidate
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