diff options
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(); |