pub fn noop_waker() -> Waker {
    fn clone_func(_: *const ()) -> RawWaker { RawWaker::new(null(), &TABLE) }
    static TABLE: RawWakerVTable = RawWakerVTable::new(clone_func, dummy, dummy, dummy);
    //SAFETY: waker contract upheld.
    unsafe { Waker::from_raw(clone_func(null())) }
}
/// Returns waker that performs no action when waked.
///
/// Returned waker can be used as dummy waker when polling future. This waker is static so using
/// `mem::forget` on it won't cause a leak.
Returns waker that performs no action when waked.
Returned waker can be used as dummy waker when polling future. This waker is static so using
`mem::forget` on it won't cause a leak.
Returns waker that performs no action when waked . Returned waker can be used as dummy waker when polling future . This waker is static so using ` mem :: forget ` on it won ' t cause a leak .
pub fn noop_waker() -> Waker {
    fn clone_func(_: *const ()) -> RawWaker { RawWaker::new(null(), &TABLE) }
    static TABLE: RawWakerVTable = RawWakerVTable::new(clone_func, dummy, dummy, dummy);
    //SAFETY: waker contract upheld.
    unsafe { Waker::from_raw(clone_func(null())) }
}
pub fn noop_waker ( ) -> Waker { fn clone_func ( _ : * const ( ) ) -> RawWaker { RawWaker :: new ( null ( ) , & TABLE ) } static TABLE : RawWakerVTable = RawWakerVTable :: new ( clone_func , dummy , dummy , dummy ) ; //SAFETY: waker contract upheld. unsafe { Waker :: from_raw ( clone_func ( null ( ) ) ) } }
Returns waker that performs no action when waked.
Returns waker that performs no action when waked .