pub struct LockAbandon {
pub reason: NoCacheReason,
pub token: u64,
}Expand description
A cache-lock wait abandoned over a fill the reader could not use. One value rather than two options, because the two are only ever known together.
Fields§
§reason: NoCacheReasonWhy this reader cannot use the fill, from its own matched
lock::UnusableFill. The writer publishes only tokens; the reason is the
reader’s, wrapped as NoCacheReason::Custom.
token: u64The published token it matched.
Trait Implementations§
Source§impl Clone for LockAbandon
impl Clone for LockAbandon
Source§fn clone(&self) -> LockAbandon
fn clone(&self) -> LockAbandon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LockAbandon
Source§impl Debug for LockAbandon
impl Debug for LockAbandon
impl Eq for LockAbandon
Source§impl PartialEq for LockAbandon
impl PartialEq for LockAbandon
impl StructuralPartialEq for LockAbandon
Auto Trait Implementations§
impl Freeze for LockAbandon
impl RefUnwindSafe for LockAbandon
impl Send for LockAbandon
impl Sync for LockAbandon
impl Unpin for LockAbandon
impl UnsafeUnpin for LockAbandon
impl UnwindSafe for LockAbandon
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.