pub enum UploadMode {
Fresh,
Resume,
Replay,
Ticketed,
}Expand description
How an upload relates to its replay record.
Variants§
Fresh
A new operation, reserved and charged by open_upload (also every
unsigned upload).
Resume
The same operation is in flight: re-stream and re-commit, with no second charge (legacy M0, see the module docs).
Replay
The operation already committed: verify the stream without writing it, then return OK without an apply.
Ticketed
A stateless ticket authorizes the stream; bounded authority-mode reads guard physical staging and completion, without metadata writes.
Trait Implementations§
Source§impl Clone for UploadMode
impl Clone for UploadMode
impl Copy for UploadMode
Source§impl Debug for UploadMode
impl Debug for UploadMode
impl Eq for UploadMode
Source§impl PartialEq for UploadMode
impl PartialEq for UploadMode
impl StructuralPartialEq for UploadMode
Auto Trait Implementations§
impl Freeze for UploadMode
impl RefUnwindSafe for UploadMode
impl Send for UploadMode
impl Sync for UploadMode
impl Unpin for UploadMode
impl UnsafeUnpin for UploadMode
impl UnwindSafe for UploadMode
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