We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e27de6 + 17c88fd commit d0f9e35Copy full SHA for d0f9e35
core/network/src/lib.rs
@@ -378,8 +378,8 @@ impl Transmitter for Server {
378
pub trait Receiver {
379
fn start(&self) -> Result<String, String>;
380
fn handle_client(stream: TcpStream) -> Result<String, String>;
381
- fn handle_read(mut stream: &TcpStream) -> Result<String, String>;
382
- fn handle_write(mut stream: TcpStream, result: String) -> Result<String, String>;
+ fn handle_read(stream: &TcpStream) -> Result<String, String>;
+ fn handle_write(stream: TcpStream, result: String) -> Result<String, String>;
383
}
384
385
/*
0 commit comments