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§
Source§impl FromValue for SentinelInfo
impl FromValue for SentinelInfo
Auto Trait Implementations§
impl Freeze for SentinelInfo
impl RefUnwindSafe for SentinelInfo
impl Send for SentinelInfo
impl Sync for SentinelInfo
impl Unpin for SentinelInfo
impl UnwindSafe for SentinelInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more