pub enum MetadataIoCommitOutcome {
Durable(MetadataGeneration),
FailedBeforeCommit(RuntimeError),
CommitOutcomeUnknown(RuntimeError),
}Expand description
The real persistence conclusion for an accepted metadata snapshot.
Variants§
Durable(MetadataGeneration)
The snapshot or a newer coalesced snapshot completed the persistence protocol and is durable.
FailedBeforeCommit(RuntimeError)
The target file was not replaced.
CommitOutcomeUnknown(RuntimeError)
The target may have been replaced, but the durability protocol did not complete. The caller must reconcile before publishing or retrying.
Trait Implementations§
Source§impl Clone for MetadataIoCommitOutcome
impl Clone for MetadataIoCommitOutcome
Auto Trait Implementations§
impl !RefUnwindSafe for MetadataIoCommitOutcome
impl !UnwindSafe for MetadataIoCommitOutcome
impl Freeze for MetadataIoCommitOutcome
impl Send for MetadataIoCommitOutcome
impl Sync for MetadataIoCommitOutcome
impl Unpin for MetadataIoCommitOutcome
impl UnsafeUnpin for MetadataIoCommitOutcome
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