Skip to main content

SuspendCompleterFn

Trait SuspendCompleterFn 

Source
pub trait SuspendCompleterFn:
    FnOnce()
    + Send
    + Sync
    + 'static { }
Expand description

A marker trait for a function type that can be used as a suspend completer.

Implementors§

Source§

impl<T> SuspendCompleterFn for T
where T: FnOnce() + Send + Sync + 'static,