Get remote terminal manager synchronously (must be called within async context)
(
&self,
)
| 384 | |
| 385 | /// Get remote terminal manager synchronously (must be called within async context) |
| 386 | pub async fn get_remote_terminal_manager_async( |
| 387 | &self, |
| 388 | ) -> Result<RemoteTerminalManager, SSHServiceError> { |
| 389 | self.remote_terminal_manager |
| 390 | .read() |
| 391 | .await |
| 392 | .clone() |
| 393 | .ok_or(SSHServiceError::TerminalManagerNotInitialized) |
| 394 | } |
| 395 | |
| 396 | /// Set current remote workspace |
| 397 | pub async fn set_remote_workspace( |
no test coverage detected