pub struct SentinelInfo {
pub host: String,
pub port: u16,
}
Expand description
Information about a Sentinel instance
Fields§
§host: String
Host address of the Sentinel
port: u16
Port of the Sentinel
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