[−][src]Struct holochain_locksmith::RwLockReadGuard
Implementations
impl<'a, T: ?Sized> HcRwLockReadGuard<'a, T>
[src]
pub fn new(inner: RwLockReadGuard<'a, T>) -> Self
[src]
pub fn annotate<S: Into<String>>(self, annotation: S) -> Self
[src]
Add some context which will output in the case that this guard lives to be an immortal
pub fn use_fair_unlocking(self) -> Self
[src]
Declare that this mutex should be unlocked fairly when it is dropped, if it hasn't already been unlocked some other way
pub fn unlock_fair(self)
[src]
Explicitly consume and unlock this mutex fairly, regardless of what kind of unlocking was specified at initialization
Trait Implementations
impl<'a, T: ?Sized> Borrow<T> for HcRwLockReadGuard<'a, T>
[src]
impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T>
[src]
impl<'a, T: ?Sized> Drop for HcRwLockReadGuard<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for HcRwLockReadGuard<'a, T>
impl<'a, T> !Send for HcRwLockReadGuard<'a, T>
impl<'a, T: ?Sized> Sync for HcRwLockReadGuard<'a, T> where
T: Sync,
T: Sync,
impl<'a, T: ?Sized> Unpin for HcRwLockReadGuard<'a, T>
impl<'a, T> !UnwindSafe for HcRwLockReadGuard<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,