aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-26 11:36:29 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-26 11:36:29 -0500
commit51453db606c9b4272ab29f33c78b148c1cc2e1cc (patch)
tree2f9245f0671ea5d945807b418706427d8f1a21b8
parent97e6d35b4e688bc1c02629191e02d50669d7363b (diff)
downloadteleterm-51453db606c9b4272ab29f33c78b148c1cc2e1cc.tar.gz
teleterm-51453db606c9b4272ab29f33c78b148c1cc2e1cc.zip
rename this struct
-rw-r--r--teleterm/src/web/list.rs10
1 files 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<S>,
@@ -67,7 +67,7 @@ struct Lister<
}
impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
- Lister<S>
+ Client<S>
{
fn new(
client: crate::client::Client<S>,
@@ -103,7 +103,7 @@ impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
}
impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
- Lister<S>
+ Client<S>
{
const POLL_FNS:
&'static [&'static dyn for<'a> Fn(
@@ -137,7 +137,7 @@ impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
}
impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
- futures::Future for Lister<S>
+ futures::Future for Client<S>
{
type Item = ();
type Error = Error;