fn read_connection<F>(
stream: UnixStream,
path: &Path,
stop: &AtomicBool,
sink: &Mutex<F>,
)where
F: FnMut(ChannelMessage),Expand description
Read one host connection until it closes or the profile’s reader stops.
fn read_connection<F>(
stream: UnixStream,
path: &Path,
stop: &AtomicBool,
sink: &Mutex<F>,
)where
F: FnMut(ChannelMessage),Read one host connection until it closes or the profile’s reader stops.