pub struct CountedTokioRwLock<T> { /* private fields */ }Implementations§
Source§impl<T> CountedTokioRwLock<T>
impl<T> CountedTokioRwLock<T>
pub async fn write<C: Display, E: Into<Option<C>>>( &self, label: &'static str, extra: E, ) -> CountedTokioRwLockWriteGuard<'_, T>
pub async fn write_owned<C: Display, E: Into<Option<C>>>( &self, label: &'static str, extra: E, ) -> CountedOwnedTokioRwLockWriteGuard<T>
pub fn blocking_write<C: Display, E: Into<Option<C>>>( &self, label: &'static str, extra: E, ) -> CountedTokioRwLockWriteGuard<'_, T>
pub fn blocking_write_owned<C: Display, E: Into<Option<C>>>( &self, label: &'static str, extra: E, ) -> CountedOwnedTokioRwLockWriteGuard<T>
pub fn blocking_read<C: Display, E: Into<Option<C>>>( &self, label: &'static str, extra: E, ) -> CountedTokioRwLockReadGuard<'_, T>
pub async fn read<C: Display, E: Into<Option<C>>>( &self, label: &'static str, extra: E, ) -> CountedTokioRwLockReadGuard<'_, T>
pub fn registry(&self) -> &LockRegistry
Auto Trait Implementations§
impl<T> !RefUnwindSafe for CountedTokioRwLock<T>
impl<T> !UnwindSafe for CountedTokioRwLock<T>
impl<T> Freeze for CountedTokioRwLock<T>
impl<T> Send for CountedTokioRwLock<T>
impl<T> Sync for CountedTokioRwLock<T>
impl<T> Unpin for CountedTokioRwLock<T>
impl<T> UnsafeUnpin for CountedTokioRwLock<T>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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