diff options
-rw-r--r-- | src/session.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session.rs b/src/session.rs index a20239e..664b78b 100644 --- a/src/session.rs +++ b/src/session.rs @@ -78,6 +78,7 @@ unsafe impl Send for SessionInner {} /// All other structures are based on an SSH session and cannot outlive a /// session. Sessions are created and then have the TCP socket handed to them /// (via the `set_tcp_stream` method). +#[derive(Clone)] pub struct Session { inner: Arc<SessionInner>, } |