Struct redis_driver::SentinelInfo
source · pub struct SentinelInfo {Show 14 fields
pub name: String,
pub ip: String,
pub port: u16,
pub runid: String,
pub flags: String,
pub link_pending_commands: usize,
pub link_refcount: usize,
pub last_ping_sent: usize,
pub last_ok_ping_reply: usize,
pub last_ping_reply: usize,
pub down_after_milliseconds: u64,
pub last_hello_message: u64,
pub voted_leader: String,
pub voted_leader_epoch: usize,
}
Fields
name: String
ip: String
port: u16
runid: String
flags: String
link_pending_commands: usize
link_refcount: usize
last_ping_sent: usize
last_ok_ping_reply: usize
last_ping_reply: usize
down_after_milliseconds: u64
last_hello_message: u64
voted_leader: String
voted_leader_epoch: usize
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SentinelInfo
impl Send for SentinelInfo
impl Sync for SentinelInfo
impl Unpin for SentinelInfo
impl UnwindSafe for SentinelInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more