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§
source§impl PartialEq for RequeueOp
impl PartialEq for RequeueOp
impl Copy for RequeueOp
impl Eq for RequeueOp
impl StructuralEq for RequeueOp
impl StructuralPartialEq for RequeueOp
Auto Trait Implementations§
impl RefUnwindSafe for RequeueOp
impl Send for RequeueOp
impl Sync for RequeueOp
impl Unpin for RequeueOp
impl UnwindSafe for RequeueOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more