pub trait ClarityConnection {
    fn with_clarity_db_readonly_owned<F, R>(&mut self, to_do: F) -> R
    where
        F: FnOnce(ClarityDatabase<'_>) -> (R, ClarityDatabase<'_>)
; fn with_analysis_db_readonly<F, R>(&mut self, to_do: F) -> R
    where
        F: FnOnce(&mut AnalysisDatabase<'_>) -> R
; fn with_clarity_db_readonly<F, R>(&mut self, to_do: F) -> R
    where
        F: FnOnce(&mut ClarityDatabase<'_>) -> R
, { ... } fn with_readonly_clarity_env<F, R>(
        &mut self,
        mainnet: bool,
        sender: PrincipalData,
        cost_track: LimitedCostTracker,
        to_do: F
    ) -> Result<R, InterpreterError>
    where
        F: FnOnce(&mut Environment<'_, '_>) -> Result<R, InterpreterError>
, { ... } }

Required Methods

Do something to the underlying DB that involves only reading.

Provided Methods

Implementors