1 2 3 4 5 6 7 8 9 10
use futures::executor::Notify; pub(in thread) struct NotifyNop; pub(in thread) const NOTIFY_NOP: &NotifyNop = &NotifyNop; impl Notify for NotifyNop { #[inline(always)] fn notify(&self, _: usize) {} }