diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-04-02 18:21:23 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-02 18:21:23 -0700 |
commit | a74705f1f43e1fc3633d1b69d8b0f35f066fc431 (patch) | |
tree | b4b1fa682e88672721ecb30d920d83b3f7b82690 /src/channel.rs | |
parent | 77456e87ba3888d7a9fc62f3e87aeb3a09098f60 (diff) | |
download | ssh2-rs-a74705f1f43e1fc3633d1b69d8b0f35f066fc431.zip |
Update for rust beta
Diffstat (limited to 'src/channel.rs')
-rw-r--r-- | src/channel.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.rs b/src/channel.rs index 73d7d9c..40933a1 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -40,7 +40,7 @@ pub struct ExitSignal { } /// Description of the read window as returned by `Channel::read_window` -#[derive(Copy)] +#[derive(Copy, Clone)] pub struct ReadWindow { /// The number of bytes which the remote end may send without overflowing /// the window limit. @@ -52,7 +52,7 @@ pub struct ReadWindow { } /// Description of the write window as returned by `Channel::write_window` -#[derive(Copy)] +#[derive(Copy, Clone)] pub struct WriteWindow { /// The number of bytes which may be safely written on the channel without /// blocking. |