Skip to main content

serve_stream

Function serve_stream 

Source
pub async fn serve_stream(
    daemon: &Daemon,
    stream: UnixStream,
) -> Result<(), WireError>
Expand description

One UnixStream, served. The split is here rather than in serve_connection so the codec stays testable over any pair of pipes.