One way to approach this is a shutdown: Receiver<()> channel. ... let (_shutdown_sender, shutdown_receiver) = mpsc::unbounded::<Void>(); ...
確定! 回上一頁