Function common::with_transaction

source ·
pub fn with_transaction<T, E>(f: impl FnOnce() -> Result<T, E>) -> Result<T, E>where
    E: From<DispatchError>,
Expand description

Similar to #[transactional]