[−][src]Function fast_rpc::client::receive
pub fn receive<F>(
stream: &mut TcpStream,
response_handler: F
) -> Result<usize, Error> where
F: FnMut(&FastMessage) -> Result<(), Error>,
Receive a message from a Fast server on the provided TCP stream and call
response_handler
on the response.