pub struct RedisCluster {
pub servers: Vec<RedisServer>,
pub folders: Vec<TempDir>,
pub tls_paths: Option<TlsFilePaths>,
}
Fields§
§servers: Vec<RedisServer>
§folders: Vec<TempDir>
§tls_paths: Option<TlsFilePaths>
Implementations§
Source§impl RedisCluster
impl RedisCluster
pub fn username() -> &'static str
pub fn password() -> &'static str
pub fn new(configuration: RedisClusterConfiguration) -> RedisCluster
pub fn stop(&mut self)
pub fn iter_servers(&self) -> impl Iterator<Item = &RedisServer>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedisCluster
impl RefUnwindSafe for RedisCluster
impl Send for RedisCluster
impl Sync for RedisCluster
impl Unpin for RedisCluster
impl UnwindSafe for RedisCluster
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