Struct vstd::rwlock::RwLockToks::writer
source · pub struct writer<K, V, Pred: InvariantPredicate<K, V>> { /* private fields */ }
Implementations§
source§impl<K, V, Pred: InvariantPredicate<K, V>> writer<K, V, Pred>
impl<K, V, Pred: InvariantPredicate<K, V>> writer<K, V, Pred>
pub fn view(self) -> writer_token_data<K, V, Pred>
pub fn arbitrary() -> writer<K, V, Pred>
pub fn option_agree_strict( token_opt: Option<writer<K, V, Pred>>, opt: Option<()>, instance: Instance<K, V, Pred> ) -> bool
pub fn option_agree( token_opt: Option<writer<K, V, Pred>>, opt: Option<()>, instance: Instance<K, V, Pred> ) -> bool
Auto Trait Implementations§
impl<K, V, Pred> Freeze for writer<K, V, Pred>
impl<K, V, Pred> RefUnwindSafe for writer<K, V, Pred>
impl<K, V, Pred> Send for writer<K, V, Pred>
impl<K, V, Pred> Sync for writer<K, V, Pred>
impl<K, V, Pred> Unpin for writer<K, V, Pred>
impl<K, V, Pred> UnwindSafe for writer<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