[][src]Struct buruma::Stat

pub struct Stat {
    pub czxid: i64,
    pub mzxid: i64,
    pub ctime: i64,
    pub mtime: i64,
    pub version: i32,
    pub cversion: i32,
    pub aversion: i32,
    pub ephemeral_owner: i64,
    pub data_length: i32,
    pub num_children: i32,
    pub pzxid: i64,
}

ZK 节点统计数据

  • czxid: 创建节点时 zxid
  • mzxid: 修改节点时 zxid
  • ctime: 创建时间戳
  • mtime: 修改时间戳
  • version: 节点数据修改次数
  • cversion: 子节点列表修改次数
  • aversion: 节点 ACL 数据修改次数
  • ephemeral_owner:若当前节点是临时节点,该字段为对应客户端的 session_id,否则为 0
  • data_length: 数据的长度
  • num_children:子节点(不含孙子节点)数量
  • pzxid

Fields

czxid: i64mzxid: i64ctime: i64mtime: i64version: i32cversion: i32aversion: i32ephemeral_owner: i64data_length: i32num_children: i32pzxid: i64

Trait Implementations

impl Debug for Stat[src]

impl Default for Stat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.