pub struct CompleteTodoUseCase<'a> { /* private fields */ }Expand description
Completes a TODO: merges/removes JJ workspaces, then marks the TODO done in SQLite.
JJ operations cannot participate in the database transaction. The workflow therefore completes external side effects first, then persists the terminal state. If the DB update fails after a successful merge, a typed error is returned so the caller can recover manually.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CompleteTodoUseCase<'a>
impl<'a> !Send for CompleteTodoUseCase<'a>
impl<'a> !Sync for CompleteTodoUseCase<'a>
impl<'a> !UnwindSafe for CompleteTodoUseCase<'a>
impl<'a> Freeze for CompleteTodoUseCase<'a>
impl<'a> Unpin for CompleteTodoUseCase<'a>
impl<'a> UnsafeUnpin for CompleteTodoUseCase<'a>
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