mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
is_connected method
This commit is contained in:
@@ -80,6 +80,11 @@ pub trait FileTransfer {
|
||||
|
||||
fn disconnect(&mut self) -> Result<(), FileTransferError>;
|
||||
|
||||
/// ### is_connected
|
||||
///
|
||||
/// Indicates whether the client is connected to remote
|
||||
fn is_connected(&self) -> bool;
|
||||
|
||||
/// ### pwd
|
||||
///
|
||||
/// Print working directory
|
||||
|
||||
Reference in New Issue
Block a user