pub enum WriteMode {
CreateNew,
CreateOrTruncate,
Append,
ReplaceAtomic,
ConditionalReplace {
etag: String,
},
}Expand description
Write creation mode.
Variants§
CreateNew
Create a new resource and fail when the target exists.
CreateOrTruncate
Create or truncate an existing resource.
Append
Append to an existing resource.
ReplaceAtomic
Replace the target atomically.
ConditionalReplace
Replace only when the target version matches.
Trait Implementations§
impl Eq for WriteMode
impl StructuralPartialEq for WriteMode
Auto Trait Implementations§
impl Freeze for WriteMode
impl RefUnwindSafe for WriteMode
impl Send for WriteMode
impl Sync for WriteMode
impl Unpin for WriteMode
impl UnsafeUnpin for WriteMode
impl UnwindSafe for WriteMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.