Struct tc_transact::lock::Mutable [−][src]
A generic impl of Mutate
, for convenience.
Implementations
Trait Implementations
impl<T: Clone + Send> Mutate for Mutable<T>
[src]
impl<T: Clone + Send> Mutate for Mutable<T>
[src]type Pending = T
The type of this state when pending a transaction commit.
fn diverge(&self, _txn_id: &TxnId) -> Self::Pending
[src]
fn converge<'life0, 'async_trait>(
&'life0 mut self,
new_value: Self::Pending
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
new_value: Self::Pending
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<T> RefUnwindSafe for Mutable<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for Mutable<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Mutable<T> where
T: UnwindSafe,
impl<T> UnwindSafe for Mutable<T> where
T: UnwindSafe,
Blanket Implementations
impl<T, F> CastInto<F> for T where
F: CastFrom<T>,
impl<T, F> CastInto<F> for T where
F: CastFrom<T>,
pub fn cast_into(self) -> F
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
impl<F, T> TryCastFrom<F> for T where
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>,
impl<F, T> TryCastInto<T> for F where
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<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,