To fix your first error, simply name the lifetime on the Sender<&[u8]> then add that lifetime to the argument of handle_event :
確定! 回上一頁