pub struct FreezerHandle { /* private fields */ }Expand description
v7.2.1 — handle returned by spawn_background_freezer.
Drop signals the worker thread to wind down + joins it,
so a Database (or its shared Arc<Mutex<Database>>)
can safely drop after the handle does.
Implementations§
Source§impl FreezerHandle
impl FreezerHandle
Trait Implementations§
Source§impl Debug for FreezerHandle
impl Debug for FreezerHandle
Source§impl Drop for FreezerHandle
impl Drop for FreezerHandle
Auto Trait Implementations§
impl !RefUnwindSafe for FreezerHandle
impl !UnwindSafe for FreezerHandle
impl Freeze for FreezerHandle
impl Send for FreezerHandle
impl Sync for FreezerHandle
impl Unpin for FreezerHandle
impl UnsafeUnpin for FreezerHandle
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