pub enum ContentUploadState {
IntentPersisted,
Uploading,
RemoteCommitting,
RemoteOutcomeUnknown,
RemoteOutcomeKnown,
MetadataReconciled,
Completed,
}Expand description
Durable upload state.
Variants§
IntentPersisted
Intent, dirty generation, and upload lease are durable.
Uploading
A backend session and resumable accepted offset are durable.
RemoteCommitting
Every byte was accepted and remote commit has started.
RemoteOutcomeUnknown
Transport completion did not prove whether remote commit happened.
RemoteOutcomeKnown
A committed, already-committed, or precondition-failed outcome is durable.
MetadataReconciled
Local metadata acknowledged the outcome without clearing a newer dirty generation.
Completed
The operation is terminal and its upload lease was released.
Trait Implementations§
Source§impl Clone for ContentUploadState
impl Clone for ContentUploadState
Source§fn clone(&self) -> ContentUploadState
fn clone(&self) -> ContentUploadState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContentUploadState
impl Debug for ContentUploadState
Source§impl Hash for ContentUploadState
impl Hash for ContentUploadState
Source§impl PartialEq for ContentUploadState
impl PartialEq for ContentUploadState
impl Copy for ContentUploadState
impl Eq for ContentUploadState
impl StructuralPartialEq for ContentUploadState
Auto Trait Implementations§
impl Freeze for ContentUploadState
impl RefUnwindSafe for ContentUploadState
impl Send for ContentUploadState
impl Sync for ContentUploadState
impl Unpin for ContentUploadState
impl UnwindSafe for ContentUploadState
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