pub enum TxStatus {
Accepted,
AcceptedWithWarnings,
Rejected,
}Expand description
The outcome status of a transaction run.
Variants§
Accepted
All ops applied and no diagnostics at Error or Warning severity.
AcceptedWithWarnings
All ops applied but at least one Warning-severity diagnostic was produced (by op application or post-apply validation).
Rejected
At least one Error-severity diagnostic was produced; the document was
not changed (source_after == source_before).
Trait Implementations§
impl StructuralPartialEq for TxStatus
Auto Trait Implementations§
impl Freeze for TxStatus
impl RefUnwindSafe for TxStatus
impl Send for TxStatus
impl Sync for TxStatus
impl Unpin for TxStatus
impl UnsafeUnpin for TxStatus
impl UnwindSafe for TxStatus
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