Enum etcd::kv::Action
[−]
[src]
pub enum Action { CompareAndDelete, CompareAndSwap, Create, Delete, Expire, Get, Set, Update, }
The type of action that was taken in response to a key value API request.
"Node" refers to the key or directory being acted upon.
Variants
CompareAndDelete
Atomic deletion of a node based on previous state.
CompareAndSwap
Atomtic update of a node based on previous state.
Create
Creation of a node that didn't previously exist.
Delete
Deletion of a node.
Expire
Expiration of a node.
Get
Retrieval of a node.
Set
Assignment of a node, which may have previously existed.
Update
Update of an existing node.
Trait Implementations
impl Clone for Action
[src]
fn clone(&self) -> Action
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
impl Copy for Action
[src]
impl Debug for Action
[src]
impl Eq for Action
[src]
impl Hash for Action
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more