diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-04-12 01:40:46 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-04-12 01:40:46 -0400 |
commit | e45e35125e623a8fb683a28f55ad96d42d01a1d0 (patch) | |
tree | ffdf2130cb2197bc3e0769b732dfb4fc933b4618 /src/bin/rbw-agent/sock.rs | |
parent | 14b647f9d6dbb76960e6cad6f51531ea6a8dbf3a (diff) | |
download | rbw-e45e35125e623a8fb683a28f55ad96d42d01a1d0.tar.gz rbw-e45e35125e623a8fb683a28f55ad96d42d01a1d0.zip |
rename some stuff to be less confusing
Diffstat (limited to 'src/bin/rbw-agent/sock.rs')
-rw-r--r-- | src/bin/rbw-agent/sock.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/rbw-agent/sock.rs b/src/bin/rbw-agent/sock.rs index 6931b13..688f87a 100644 --- a/src/bin/rbw-agent/sock.rs +++ b/src/bin/rbw-agent/sock.rs @@ -10,7 +10,7 @@ impl Sock { pub async fn send( &mut self, - res: &rbw::agent::Response, + res: &rbw::protocol::Response, ) -> anyhow::Result<()> { let Self(sock) = self; sock.write_all( @@ -26,7 +26,7 @@ impl Sock { Ok(()) } - pub async fn recv(&mut self) -> anyhow::Result<rbw::agent::Request> { + pub async fn recv(&mut self) -> anyhow::Result<rbw::protocol::Request> { let Self(sock) = self; let mut buf = tokio::io::BufStream::new(sock); let mut line = String::new(); |