pub fn spawn(
listener: TcpListener,
socket: PathBuf,
stop: impl Future + Send + 'static,
) -> JoinHandle<()> ⓘExpand description
Runs serve as a task, logging why it stopped if it failed.
pub fn spawn(
listener: TcpListener,
socket: PathBuf,
stop: impl Future + Send + 'static,
) -> JoinHandle<()> ⓘRuns serve as a task, logging why it stopped if it failed.