Struct clarity_repl::clarity::clarity::ClarityReadOnlyConnection
source · [−]pub struct ClarityReadOnlyConnection<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ClarityReadOnlyConnection<'a>
impl<'a> ClarityReadOnlyConnection<'a>
Trait Implementations
sourceimpl ClarityConnection for ClarityReadOnlyConnection<'_>
impl ClarityConnection for ClarityReadOnlyConnection<'_>
sourcefn with_clarity_db_readonly_owned<F, R>(&mut self, to_do: F) -> Rwhere
F: FnOnce(ClarityDatabase<'_>) -> (R, ClarityDatabase<'_>),
fn with_clarity_db_readonly_owned<F, R>(&mut self, to_do: F) -> Rwhere
F: FnOnce(ClarityDatabase<'_>) -> (R, ClarityDatabase<'_>),
Do something with ownership of the underlying DB that involves only reading.
fn with_analysis_db_readonly<F, R>(&mut self, to_do: F) -> Rwhere
F: FnOnce(&mut AnalysisDatabase<'_>) -> R,
fn with_clarity_db_readonly<F, R>(&mut self, to_do: F) -> Rwhere
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>,
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ClarityReadOnlyConnection<'a>
impl<'a> !Send for ClarityReadOnlyConnection<'a>
impl<'a> !Sync for ClarityReadOnlyConnection<'a>
impl<'a> Unpin for ClarityReadOnlyConnection<'a>
impl<'a> !UnwindSafe for ClarityReadOnlyConnection<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more