Get SSH connection manager synchronously (must be called within async context)
(&self)
| 364 | |
| 365 | /// Get SSH connection manager synchronously (must be called within async context) |
| 366 | pub async fn get_ssh_manager_async(&self) -> Result<SSHConnectionManager, SSHServiceError> { |
| 367 | self.ssh_manager |
| 368 | .read() |
| 369 | .await |
| 370 | .clone() |
| 371 | .ok_or(SSHServiceError::ManagerNotInitialized) |
| 372 | } |
| 373 | |
| 374 | /// Get remote file service synchronously (must be called within async context) |
| 375 | pub async fn get_remote_file_service_async( |
no test coverage detected