Enum redis::sentinel::SentinelServerType
source · pub enum SentinelServerType {
Master,
Replica,
}
Expand description
Enum defining the server types from a sentinel’s point of view.
Variants§
Trait Implementations§
source§impl Clone for SentinelServerType
impl Clone for SentinelServerType
source§fn clone(&self) -> SentinelServerType
fn clone(&self) -> SentinelServerType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SentinelServerType
impl RefUnwindSafe for SentinelServerType
impl Send for SentinelServerType
impl Sync for SentinelServerType
impl Unpin for SentinelServerType
impl UnwindSafe for SentinelServerType
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