Enum vertree::WriteOp
[−]
[src]
pub enum WriteOp { CreateNode { path: String, ty: NodeType, }, DeleteNode { path: String, }, BlobPut { path: String, val: Vec<u8>, }, QueuePush { path: String, val: Vec<u8>, }, QueuePop { path: String, }, SetInsert { path: String, val: Vec<u8>, }, SetRemove { path: String, val: Vec<u8>, }, Snapshot { directory: String, }, }
A write operation that is part of a multi-cas
Variants
CreateNode
Fields of CreateNode
path: String | |
ty: NodeType |
DeleteNode
Fields of DeleteNode
path: String |
BlobPut
Fields of BlobPut
path: String | |
val: Vec<u8> |
QueuePush
Fields of QueuePush
path: String | |
val: Vec<u8> |
QueuePop
Fields of QueuePop
path: String |
SetInsert
Fields of SetInsert
path: String | |
val: Vec<u8> |
SetRemove
Fields of SetRemove
path: String | |
val: Vec<u8> |
Snapshot
Fields of Snapshot
directory: String |
Trait Implementations
impl Debug for WriteOp
[src]
impl Clone for WriteOp
[src]
fn clone(&self) -> WriteOp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more