From 51453db606c9b4272ab29f33c78b148c1cc2e1cc Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 26 Nov 2019 11:36:29 -0500 Subject: rename this struct --- teleterm/src/web/list.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/teleterm/src/web/list.rs b/teleterm/src/web/list.rs index 88ba181..2acc9e5 100644 --- a/teleterm/src/web/list.rs +++ b/teleterm/src/web/list.rs @@ -35,7 +35,7 @@ pub fn run( let (w_sessions, r_sessions) = tokio::sync::oneshot::channel(); tokio::spawn( - Lister::new(client, w_sessions) + Client::new(client, w_sessions) .map_err(|e| log::warn!("error listing: {}", e)), ); @@ -57,7 +57,7 @@ pub fn run( } } -struct Lister< +struct Client< S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static, > { client: crate::client::Client, @@ -67,7 +67,7 @@ struct Lister< } impl - Lister + Client { fn new( client: crate::client::Client, @@ -103,7 +103,7 @@ impl } impl - Lister + Client { const POLL_FNS: &'static [&'static dyn for<'a> Fn( @@ -137,7 +137,7 @@ impl } impl - futures::Future for Lister + futures::Future for Client { type Item = (); type Error = Error; -- cgit v1.2.3