pub enum BuildClaim {
Acquired(KeyLock),
Committed(Box<EntryMeta>),
Contended,
}Expand description
Result of claiming responsibility for a cache miss.
Variants§
Acquired(KeyLock)
This process owns the key and may compile it.
Committed(Box<EntryMeta>)
A peer committed the key after the caller’s cache lookup.
Contended
Another process currently owns the key.
Auto Trait Implementations§
impl Freeze for BuildClaim
impl RefUnwindSafe for BuildClaim
impl Send for BuildClaim
impl Sync for BuildClaim
impl Unpin for BuildClaim
impl UnsafeUnpin for BuildClaim
impl UnwindSafe for BuildClaim
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