Struct vstd::rwlock::RwLockToks::pending_reader
source · pub struct pending_reader<K, V, Pred: InvariantPredicate<K, V>> { /* private fields */ }
Implementations§
source§impl<K, V, Pred: InvariantPredicate<K, V>> pending_reader<K, V, Pred>
impl<K, V, Pred: InvariantPredicate<K, V>> pending_reader<K, V, Pred>
pub fn view(self) -> pending_reader_token_data<K, V, Pred>
pub fn arbitrary() -> pending_reader<K, V, Pred>
pub fn multiset_agree( tokens: Map<(), pending_reader<K, V, Pred>>, m: Multiset<()>, instance: Instance<K, V, Pred> ) -> bool
pub fn multiset_agree_strict( tokens: Map<(), pending_reader<K, V, Pred>>, m: Multiset<()>, 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 pending_reader<K, V, Pred>
impl<K, V, Pred> Send for pending_reader<K, V, Pred>
impl<K, V, Pred> Sync for pending_reader<K, V, Pred>
impl<K, V, Pred> Unpin for pending_reader<K, V, Pred>
impl<K, V, Pred> UnwindSafe for pending_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