Get remote file service synchronously (must be called within async context)
(
&self,
)
| 373 | |
| 374 | /// Get remote file service synchronously (must be called within async context) |
| 375 | pub async fn get_remote_file_service_async( |
| 376 | &self, |
| 377 | ) -> Result<RemoteFileService, SSHServiceError> { |
| 378 | self.remote_file_service |
| 379 | .read() |
| 380 | .await |
| 381 | .clone() |
| 382 | .ok_or(SSHServiceError::FileServiceNotInitialized) |
| 383 | } |
| 384 | |
| 385 | /// Get remote terminal manager synchronously (must be called within async context) |
| 386 | pub async fn get_remote_terminal_manager_async( |
no test coverage detected