pub trait ArcStateDeltaExt: Sized {
    type S: StateRead;
    // Required method
    fn try_begin_transaction(
        &mut self,
    ) -> Option<StateDelta<&mut StateDelta<Self::S>>>;
}Expand description
Extension trait providing try_begin_transaction() on Arc<StateDelta<S>>.
Required Associated Types§
Required Methods§
Sourcefn try_begin_transaction(
    &mut self,
) -> Option<StateDelta<&mut StateDelta<Self::S>>>
 
fn try_begin_transaction( &mut self, ) -> Option<StateDelta<&mut StateDelta<Self::S>>>
Attempts to begin a transaction on this Arc<State>, returning None if the Arc is shared.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.