Struct mz_expr::visit::StackSafeVisit
source · struct StackSafeVisit<T> {
recursion_guard: RecursionGuard,
_type: PhantomData<T>,
}
Fields§
§recursion_guard: RecursionGuard
§_type: PhantomData<T>
Implementations§
source§impl<T: VisitChildren<T>> StackSafeVisit<T>
impl<T: VisitChildren<T>> StackSafeVisit<T>
fn new() -> Self
fn visit_post<F>(&self, value: &T, f: &mut F) -> Result<(), RecursionLimitError>
fn visit_post_nolimit<F>(&self, value: &T, f: &mut F)
fn visit_mut_post<F>( &self, value: &mut T, f: &mut F, ) -> Result<(), RecursionLimitError>
fn visit_mut_post_nolimit<F>(&self, value: &mut T, f: &mut F)
fn try_visit_post<F, E>(&self, value: &T, f: &mut F) -> Result<(), E>
fn try_visit_mut_post<F, E>(&self, value: &mut T, f: &mut F) -> Result<(), E>
fn visit_pre<F>(&self, value: &T, f: &mut F) -> Result<(), RecursionLimitError>
fn visit_pre_with_context<Context, AccFun, Visitor>( &self, node: &T, init: Context, acc_fun: &mut AccFun, visitor: &mut Visitor, ) -> Result<(), RecursionLimitError>
fn visit_pre_nolimit<F>(&self, value: &T, f: &mut F)
fn visit_mut_pre<F>( &self, value: &mut T, f: &mut F, ) -> Result<(), RecursionLimitError>
fn visit_mut_pre_nolimit<F>(&self, value: &mut T, f: &mut F)
fn try_visit_pre<F, E>(&self, value: &T, f: &mut F) -> Result<(), E>
fn try_visit_mut_pre<F, E>(&self, value: &mut T, f: &mut F) -> Result<(), E>
fn visit_pre_post<F1, F2>( &self, value: &T, pre: &mut F1, post: &mut F2, ) -> Result<(), RecursionLimitError>
fn visit_pre_post_nolimit<F1, F2>(&self, value: &T, pre: &mut F1, post: &mut F2)
fn visit_mut_pre_post<F1, F2>( &self, value: &mut T, pre: &mut F1, post: &mut F2, ) -> Result<(), RecursionLimitError>
fn visit_mut_pre_post_nolimit<F1, F2>( &self, value: &mut T, pre: &mut F1, post: &mut F2, )
fn visit<V>( &self, value: &T, visitor: &mut V, ) -> Result<(), RecursionLimitError>
fn visit_mut<V>(
&self,
value: &mut T,
visitor: &mut V,
) -> Result<(), RecursionLimitError>where
Self: Sized,
V: VisitorMut<T>,
fn try_visit<V, E>(&self, value: &T, visitor: &mut V) -> Result<(), E>
fn try_visit_mut<V, E>(&self, value: &mut T, visitor: &mut V) -> Result<(), E>
Trait Implementations§
source§impl<T> CheckedRecursion for StackSafeVisit<T>
impl<T> CheckedRecursion for StackSafeVisit<T>
source§fn recursion_guard(&self) -> &RecursionGuard
fn recursion_guard(&self) -> &RecursionGuard
Extracts a reference to the recursion guard embedded within the type.
source§fn checked_recur<F, T, E>(&self, f: F) -> Result<T, E>
fn checked_recur<F, T, E>(&self, f: F) -> Result<T, E>
Checks whether it is safe to recur and calls
f
if so. Read moresource§fn checked_recur_mut<F, T, E>(&mut self, f: F) -> Result<T, E>
fn checked_recur_mut<F, T, E>(&mut self, f: F) -> Result<T, E>
Like
CheckedRecursion::checked_recur
, but operates on a mutable
reference to Self
.Auto Trait Implementations§
impl<T> !Freeze for StackSafeVisit<T>
impl<T> !RefUnwindSafe for StackSafeVisit<T>
impl<T> Send for StackSafeVisit<T>where
T: Send,
impl<T> !Sync for StackSafeVisit<T>
impl<T> Unpin for StackSafeVisit<T>where
T: Unpin,
impl<T> UnwindSafe for StackSafeVisit<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.