summaryrefslogtreecommitdiffstats
path: root/src/bin/client/connection.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/client/connection.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/client/connection.rs b/src/bin/client/connection.rs
index 49695dd..6459de5 100644
--- a/src/bin/client/connection.rs
+++ b/src/bin/client/connection.rs
@@ -131,12 +131,6 @@ impl TlsStream {
131 ) -> std::io::Result<()> { 131 ) -> std::io::Result<()> {
132 self.inner.set_read_timeout(duration) 132 self.inner.set_read_timeout(duration)
133 } 133 }
134
135 pub fn try_clone(&self) -> std::io::Result<TlsStream> {
136 Ok(TlsStream {
137 inner: self.inner.try_clone()?,
138 })
139 }
140} 134}
141 135
142impl Read for TlsStream { 136impl Read for TlsStream {