Enum parking_lot_core::RequeueOp
source · [−]pub enum RequeueOp {
Abort,
UnparkOneRequeueRest,
RequeueAll,
UnparkOne,
RequeueOne,
}
Expand description
Operation that unpark_requeue
should perform.
Variants
Abort
Abort the operation without doing anything.
UnparkOneRequeueRest
Unpark one thread and requeue the rest onto the target queue.
RequeueAll
Requeue all threads onto the target queue.
UnparkOne
Unpark one thread and leave the rest parked. No requeuing is done.
RequeueOne
Requeue one thread and leave the rest parked on the original queue.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RequeueOp
impl UnwindSafe for RequeueOp
Blanket Implementations
Mutably borrows from an owned value. Read more