Struct zookeeper::ZooKeeper
[−]
[src]
pub struct ZooKeeper { // some fields omitted }
pub struct ZooKeeper { // some fields omitted }
impl ZooKeeper
fn connect<W>(connect_string: &str, timeout: Duration, watcher: W) -> ZkResult<ZooKeeper> where W: Watcher + 'static
fn add_auth(&self, scheme: &str, auth: Vec<u8>) -> ZkResult<()>
fn create(&self, path: &str, data: Vec<u8>, acl: Vec<Acl>, mode: CreateMode) -> ZkResult<String>
fn delete(&self, path: &str, version: i32) -> ZkResult<()>
fn exists(&self, path: &str, watch: bool) -> ZkResult<Stat>
fn get_acl(&self, path: &str) -> ZkResult<(Vec<Acl>, Stat)>
fn get_children(&self, path: &str, watch: bool) -> ZkResult<Vec<String>>
fn get_data(&self, path: &str, watch: bool) -> ZkResult<(Vec<u8>, Stat)>
fn set_acl(&self, path: &str, acl: Vec<Acl>, version: i32) -> ZkResult<Stat>
fn set_data(&self, path: &str, data: Vec<u8>, version: i32) -> ZkResult<Stat>
fn close(&self)
impl Drop for ZooKeeper
fn drop(&mut self)
impl Clone for ZooKeeper
fn clone(&self) -> ZooKeeper
fn clone_from(&mut self, source: &Self)