Struct hot_lib_reloader::BlockReload
source · pub struct BlockReload { /* private fields */ }
Expand description
See LibReloadObserver::wait_for_about_to_reload
.
BlockReload
is implemented using a simple counting scheme to track how
many tokens are floating around. If the number reaches 0 the update can
continue.
Trait Implementations§
source§impl Clone for BlockReload
impl Clone for BlockReload
source§impl Debug for BlockReload
impl Debug for BlockReload
Auto Trait Implementations§
impl !RefUnwindSafe for BlockReload
impl Send for BlockReload
impl Sync for BlockReload
impl Unpin for BlockReload
impl !UnwindSafe for BlockReload
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