Struct kudu::Master
[−]
[src]
pub struct Master { /* fields omitted */ }
Master metadata.
This information should be considered 'point-in-time', and may change as the cluster topology changes.
Methods
impl Master
[src]
fn id(&self) -> &MasterId
fn rpc_addrs(&self) -> &[(String, u16)]
fn http_addrs(&self) -> &[(String, u16)]
fn seqno(&self) -> i64
fn role(&self) -> RaftRole
Trait Implementations
impl Clone for Master
[src]
fn clone(&self) -> Master
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 Debug for Master
[src]
impl PartialEq for Master
[src]
fn eq(&self, __arg_0: &Master) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Master) -> bool
This method tests for !=
.