pub struct TestClusterManager {
pub instances: HashMap<u64, Instance>,
pub tls_config: Option<TestTlsConfig>,
pub working_directory: PathBuf,
pub executable: String,
pub keep_temp_directories: bool,
pub key_path: String,
pub cert_path: String,
}
Fields§
§instances: HashMap<u64, Instance>
§tls_config: Option<TestTlsConfig>
§working_directory: PathBuf
§executable: String
§keep_temp_directories: bool
§key_path: String
§cert_path: String
Implementations§
Source§impl TestClusterManager
impl TestClusterManager
pub fn new<P: AsRef<Path>>( instance_count: usize, working_directory: P, executable_path: P, host: &str, tls_config: Option<TestTlsConfig>, data_dir_base_name: Option<&str>, ) -> Result<Self>
pub fn kill_all(&mut self) -> Result<()>
pub fn start(&mut self) -> Result<()>
pub fn clean_directories(&self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestClusterManager
impl RefUnwindSafe for TestClusterManager
impl Send for TestClusterManager
impl Sync for TestClusterManager
impl Unpin for TestClusterManager
impl UnwindSafe for TestClusterManager
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