summaryrefslogtreecommitdiff
path: root/src/channel.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-12 09:18:23 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-12 09:18:23 -0800
commit5319ce3a7dc4d417af9d94b8671c41ad43018b10 (patch)
tree0f1805082771798872805e3b680215050c29f67b /src/channel.rs
parent982dc47a45a5a2d66ea092ee6bb9503ddcbf36d9 (diff)
downloadssh2-rs-5319ce3a7dc4d417af9d94b8671c41ad43018b10.zip
Update to rust master
Diffstat (limited to 'src/channel.rs')
-rw-r--r--src/channel.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/channel.rs b/src/channel.rs
index 6f951f2..bed303f 100644
--- a/src/channel.rs
+++ b/src/channel.rs
@@ -29,6 +29,7 @@ pub struct ExitSignal {
}
/// Description of the read window as returned by `Channel::read_window`
+#[deriving(Copy)]
pub struct ReadWindow {
/// The number of bytes which the remote end may send without overflowing
/// the window limit.
@@ -40,6 +41,7 @@ pub struct ReadWindow {
}
/// Description of the write window as returned by `Channel::write_window`
+#[deriving(Copy)]
pub struct WriteWindow {
/// The number of bytes which may be safely written on the channel without
/// blocking.