Struct len_caching_lock::mutex::CachingMutexGuard  
source · [−]Expand description
Guard comprising MutexGuard and AtomicUsize for cache
Implementations
sourceimpl<'a, T: Len + ?Sized> CachingMutexGuard<'a, T>
 
impl<'a, T: Len + ?Sized> CachingMutexGuard<'a, T>
sourcepub fn inner_mut(&mut self) -> &mut MutexGuard<'a, T>
 
pub fn inner_mut(&mut self) -> &mut MutexGuard<'a, T>
Returns a mutable reference to the contained
MutexGuard
sourcepub fn inner(&self) -> &MutexGuard<'a, T>
 
pub fn inner(&self) -> &MutexGuard<'a, T>
Returns a non-mutable reference to the contained
MutexGuard
Trait Implementations
sourceimpl<'a, T: Len + ?Sized> Deref for CachingMutexGuard<'a, T>
 
impl<'a, T: Len + ?Sized> Deref for CachingMutexGuard<'a, T>
sourceimpl<'a, T: Len + ?Sized> DerefMut for CachingMutexGuard<'a, T>
 
impl<'a, T: Len + ?Sized> DerefMut for CachingMutexGuard<'a, T>
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for CachingMutexGuard<'a, T>
impl<'a, T> !Send for CachingMutexGuard<'a, T>
impl<'a, T: ?Sized> Sync for CachingMutexGuard<'a, T> where
    T: Sync, 
impl<'a, T: ?Sized> Unpin for CachingMutexGuard<'a, T>
impl<'a, T> !UnwindSafe for CachingMutexGuard<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more