Struct kudu::Replica
[−]
[src]
pub struct Replica { /* fields omitted */ }Tablet replica belonging to a tablet server.
Methods
impl Replica[src]
fn id(&self) -> &TabletServerId
Returns the ID of the tablet server which owns this replica.
fn rpc_addrs(&self) -> &[(String, u16)]
Returns the RPC addresses of the tablet server which owns this replica.
fn role(&self) -> RaftRole
The Raft role of this replica.
fn resolved_rpc_addrs(&self) -> &[SocketAddr]
The resolved RPC addresses.
Trait Implementations
impl Clone for Replica[src]
fn clone(&self) -> Replica
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 Replica[src]
impl PartialEq for Replica[src]
fn eq(&self, __arg_0: &Replica) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Replica) -> bool
This method tests for !=.