Struct tc_transact::lock::TxnLockReadGuard [−][src]
pub struct TxnLockReadGuard<T: Mutate> { /* fields omitted */ }
An immutable read guard for a transactional state.
Implementations
impl<T: Mutate> TxnLockReadGuard<T>
[src]
pub fn upgrade(self) -> TxnLockWriteFuture<T>ⓘNotable traits for TxnLockWriteFuture<T>
impl<T: Mutate> Future for TxnLockWriteFuture<T> type Output = TCResult<TxnLockWriteGuard<T>>;
[src]
Notable traits for TxnLockWriteFuture<T>
impl<T: Mutate> Future for TxnLockWriteFuture<T> type Output = TCResult<TxnLockWriteGuard<T>>;
Upgrade this read lock to a write lock.
Trait Implementations
impl<T: Mutate> Deref for TxnLockReadGuard<T>
[src]
type Target = <T as Mutate>::Pending
The resulting type after dereferencing.
fn deref(&self) -> &<T as Mutate>::Pending
[src]
impl<T: Mutate> Drop for TxnLockReadGuard<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for TxnLockReadGuard<T>
impl<T> Send for TxnLockReadGuard<T>
impl<T> Sync for TxnLockReadGuard<T>
impl<T> Unpin for TxnLockReadGuard<T>
impl<T> UnwindSafe for TxnLockReadGuard<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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<F, T> CastFrom<F> for T where
T: From<F>,
T: From<F>,
pub fn cast_from(f: F) -> T
impl<T, F> CastInto<F> for T where
F: CastFrom<T>,
F: CastFrom<T>,
pub fn cast_into(self) -> F
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F> Match for F
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
T: CastFrom<F>,
pub fn can_cast_from(&F) -> bool
pub fn opt_cast_from(f: F) -> Option<T>
pub fn try_cast_from<Err, OnErr>(value: T, on_err: OnErr) -> Result<Self, Err> where
OnErr: FnOnce(&T) -> Err,
OnErr: FnOnce(&T) -> Err,
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
T: TryCastFrom<F>,
pub fn can_cast_into(&self) -> bool
pub fn opt_cast_into(self) -> Option<T>
pub fn try_cast_into<Err, OnErr>(self, on_err: OnErr) -> Result<T, Err> where
OnErr: FnOnce(&Self) -> Err,
OnErr: FnOnce(&Self) -> Err,
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,