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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more