MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / descend

Method descend

src/ore/src/stack.rs:243–251  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

241 }
242
243 fn descend(&self) -> Result<(), RecursionLimitError> {
244 let mut depth = self.depth.borrow_mut();
245 if *depth < self.limit {
246 *depth += 1;
247 Ok(())
248 } else {
249 Err(RecursionLimitError::new(self.limit))
250 }
251 }
252
253 fn ascend(&self) {
254 *self.depth.borrow_mut() -= 1;

Callers 2

checked_recurMethod · 0.80
checked_recur_mutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected