#[non_exhaustive]
pub enum MultiWriteResult {
Check,
Delete,
Create {
path: String,
stat: Stat,
},
SetData {
stat: Stat,
},
}
Expand description
Individual result for one operation in MultiWriter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Check
Response for MultiWriter::add_check_version.
Delete
Response for MultiWriter::add_delete.
Create
Fields
§
stat: Stat
Stat for newly created node which could be Stat::is_invalid due to bugs in ZooKeeper server.
See ZOOKEEPER-4026 and ZOOKEEPER-4667 for reference.
Response for MultiWriter::add_create.
SetData
Response for MultiWriter::add_set_data.
Trait Implementations§
source§impl Debug for MultiWriteResult
impl Debug for MultiWriteResult
source§impl PartialEq<MultiWriteResult> for MultiWriteResult
impl PartialEq<MultiWriteResult> for MultiWriteResult
source§fn eq(&self, other: &MultiWriteResult) -> bool
fn eq(&self, other: &MultiWriteResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.