Struct vstd::rwlock::RwLockToks::reader_token_data
source · pub struct reader_token_data<K, V, Pred: InvariantPredicate<K, V>> {
pub instance: Instance<K, V, Pred>,
pub key: V,
pub count: nat,
}
Fields§
§instance: Instance<K, V, Pred>
§key: V
§count: nat
Auto Trait Implementations§
impl<K, V, Pred> Freeze for reader_token_data<K, V, Pred>where
V: Freeze,
impl<K, V, Pred> RefUnwindSafe for reader_token_data<K, V, Pred>
impl<K, V, Pred> Send for reader_token_data<K, V, Pred>
impl<K, V, Pred> Sync for reader_token_data<K, V, Pred>
impl<K, V, Pred> Unpin for reader_token_data<K, V, Pred>
impl<K, V, Pred> UnwindSafe for reader_token_data<K, V, Pred>
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