[−][src]Trait futures_prio::PriorityExt
Extension trait to set priority on Futures.
Required methods
ⓘImportant traits for Priority<T>fn priority(self, prio: usize) -> Priority<Self>
ⓘImportant traits for Priority<T>
Set the priority of a Future. A priority of 0 is equivalent to not calling this method, and higher priorities will cause a Future to be polled less often.