pub struct RegistrationGuard { /* private fields */ }Expand description
RAII guard returned by TemplateReloadRegistry::register. Removes the
target on drop by its unique id (NOT route_id) — so a stopped-generation
guard cannot evict a restarted-generation registration.
Trait Implementations§
Source§impl Drop for RegistrationGuard
impl Drop for RegistrationGuard
Auto Trait Implementations§
impl Freeze for RegistrationGuard
impl RefUnwindSafe for RegistrationGuard
impl Send for RegistrationGuard
impl Sync for RegistrationGuard
impl Unpin for RegistrationGuard
impl UnsafeUnpin for RegistrationGuard
impl UnwindSafe for RegistrationGuard
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