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 StructuralPartialEq for RequeueOp
Auto Trait Implementations§
impl Freeze for RequeueOp
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)