diff options
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. |