pub enum GcLockAttempt {
Acquired(GcLock),
Held(GcLockHolder),
}Expand description
Outcome of GcLock::try_acquire.
Variants§
Acquired(GcLock)
This process now owns gc.pid.
Held(GcLockHolder)
Another live maintenance run owns it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcLockAttempt
impl RefUnwindSafe for GcLockAttempt
impl Send for GcLockAttempt
impl Sync for GcLockAttempt
impl Unpin for GcLockAttempt
impl UnsafeUnpin for GcLockAttempt
impl UnwindSafe for GcLockAttempt
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