pub struct ResolveGuard {
pub type_name: String,
}Expand description
Guard that pops the last pushed type name from the thread-local stack on drop.
Used to track the current dependency resolution chain for circular detection.
Fields§
§type_name: StringImplementations§
Trait Implementations§
Source§impl Debug for ResolveGuard
impl Debug for ResolveGuard
Auto Trait Implementations§
impl Freeze for ResolveGuard
impl RefUnwindSafe for ResolveGuard
impl Send for ResolveGuard
impl Sync for ResolveGuard
impl Unpin for ResolveGuard
impl UnwindSafe for ResolveGuard
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