Trait tfio::RollbackableOperation [−][src]
Trait that represents a Rollbackable operation
Required methods
fn execute(&mut self) -> Result<()>
[src]
Executes the operation
fn rollback(&self) -> Result<()>
[src]
Rollbacks the operation
Implementors
impl RollbackableOperation for AppendFile
[src]
impl RollbackableOperation for CopyDirectory
[src]
impl RollbackableOperation for CopyFile
[src]
impl RollbackableOperation for CreateDirectory
[src]
impl RollbackableOperation for CreateFile
[src]
impl RollbackableOperation for DeleteDirectory
[src]
impl RollbackableOperation for DeleteFile
[src]
impl RollbackableOperation for MoveOperation
[src]
impl RollbackableOperation for Transaction
[src]
fn execute(&mut self) -> Result<()>
[src]
Executes the transaction
fn rollback(&self) -> Result<()>
[src]
Performs rollback on the transaction
Only the operations that were executed will be rollbacked