Struct glommio::controllers::PriorityBump [−][src]
pub struct PriorityBump<T> { /* fields omitted */ }
Expand description
Allows the priority of the DeadlineQueue
to be temporarily bumped.
The priority is bumped for as long as this object is alive. This is useful in situations where, despite having a deadline we may never want the priority to fall too low.
This could be because a user started watching the process, a shutdown sequence was initiated, etc.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for PriorityBump<T>
impl<T> !Send for PriorityBump<T>
impl<T> !Sync for PriorityBump<T>
impl<T> Unpin for PriorityBump<T>
impl<T> !UnwindSafe for PriorityBump<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more