Struct ore::stack::RecursionGuard [−][src]
This is supported on crate feature
stack only.Expand description
Tracks recursion depth.
See the CheckedRecursion trait for usage instructions.
Fields
depth: RefCell<usize>limit: usizeImplementations
Constructs a new recursion guard with the specified recursion limit.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for RecursionGuard
impl Send for RecursionGuard
impl !Sync for RecursionGuard
impl Unpin for RecursionGuard
impl UnwindSafe for RecursionGuard
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more