Struct vstd::rwlock::RwLockToks::reader
source · pub struct reader<K, V, Pred: InvariantPredicate<K, V>> { /* private fields */ }
Implementations§
source§impl<K, V, Pred: InvariantPredicate<K, V>> reader<K, V, Pred>
impl<K, V, Pred: InvariantPredicate<K, V>> reader<K, V, Pred>
pub fn view(self) -> reader_token_data<K, V, Pred>
pub fn arbitrary() -> reader<K, V, Pred>
pub fn multiset_agree( tokens: Map<V, reader<K, V, Pred>>, m: Multiset<V>, instance: Instance<K, V, Pred> ) -> bool
pub fn multiset_agree_strict( tokens: Map<V, reader<K, V, Pred>>, m: Multiset<V>, instance: Instance<K, V, Pred> ) -> bool
pub fn join(self, other: Self) -> Self
pub fn split(self, i: nat) -> (Tracked<Self>, Tracked<Self>)
Auto Trait Implementations§
impl<K, V, Pred> RefUnwindSafe for reader<K, V, Pred>
impl<K, V, Pred> Send for reader<K, V, Pred>
impl<K, V, Pred> Sync for reader<K, V, Pred>
impl<K, V, Pred> Unpin for reader<K, V, Pred>
impl<K, V, Pred> UnwindSafe for reader<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