pub struct OperationOutcome {
pub applied: bool,
pub error: Option<OperationError>,
}Expand description
Per-operation outcome captured by MatchEngine::execute_operations_audit.
Unlike MatchEngine::execute_operations which aborts on first failure,
the audit variant records each operation’s outcome so callers can report
partial success/failure (used by JSON output mode).
Fields§
§applied: boolWhether the operation was applied to the filesystem.
error: Option<OperationError>Set when the operation failed (mutually exclusive with applied == true).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OperationOutcome
impl RefUnwindSafe for OperationOutcome
impl Send for OperationOutcome
impl Sync for OperationOutcome
impl Unpin for OperationOutcome
impl UnsafeUnpin for OperationOutcome
impl UnwindSafe for OperationOutcome
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