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) -> R where
F: FnOnce(ClarityDatabase<'_>) -> (R, ClarityDatabase<'_>),
fn with_clarity_db_readonly_owned<F, R>(&mut self, to_do: F) -> R where
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) -> 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>,
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more