pub struct LinkedWorkspaceTransaction { /* private fields */ }Implementations§
Source§impl LinkedWorkspaceTransaction
impl LinkedWorkspaceTransaction
pub fn new(root: impl Into<PathBuf>) -> Self
pub fn apply<S: ModuleOperationStore>( &self, engine: &ModuleManagementEngine<S>, operation_id: &str, plan: &ModuleChangePlan, fencing_token: u64, actor_id: &str, now: DateTime<Utc>, ) -> Result<ModuleOperation, LinkedWorkspaceError>
pub fn resume_evidence( &self, operation: &ModuleOperation, plan: &ModuleChangePlan, observed_at: DateTime<Utc>, ) -> Result<ModuleResumeEvidence, LinkedWorkspaceError>
Trait Implementations§
Source§impl Clone for LinkedWorkspaceTransaction
impl Clone for LinkedWorkspaceTransaction
Source§fn clone(&self) -> LinkedWorkspaceTransaction
fn clone(&self) -> LinkedWorkspaceTransaction
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 moreAuto Trait Implementations§
impl Freeze for LinkedWorkspaceTransaction
impl RefUnwindSafe for LinkedWorkspaceTransaction
impl Send for LinkedWorkspaceTransaction
impl Sync for LinkedWorkspaceTransaction
impl Unpin for LinkedWorkspaceTransaction
impl UnsafeUnpin for LinkedWorkspaceTransaction
impl UnwindSafe for LinkedWorkspaceTransaction
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