Enum aerospike::operations::bitwise::BitwiseWriteFlags
source · pub enum BitwiseWriteFlags {
Default,
CreateOnly,
UpdateOnly,
NoFail,
Partial,
}
Expand description
CdtBitwiseWriteFlags
specify bitwise operation policy write flags.
Variants§
Default
Default allows create or update.
CreateOnly
CreateOnly specifies that: If the bin already exists, the operation will be denied. If the bin does not exist, a new bin will be created.
UpdateOnly
UpdateOnly specifies that: If the bin already exists, the bin will be overwritten. If the bin does not exist, the operation will be denied.
NoFail
NoFail specifies not to raise error if operation is denied.
Partial
Partial allows other valid operations to be committed if this operations is denied due to flag constraints.
Trait Implementations§
source§impl Clone for BitwiseWriteFlags
impl Clone for BitwiseWriteFlags
source§fn clone(&self) -> BitwiseWriteFlags
fn clone(&self) -> BitwiseWriteFlags
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for BitwiseWriteFlags
impl Send for BitwiseWriteFlags
impl Sync for BitwiseWriteFlags
impl Unpin for BitwiseWriteFlags
impl UnwindSafe for BitwiseWriteFlags
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