pub struct WeakStore { /* private fields */ }Expand description
Weak handle to a Store — does not keep the underlying keyspace alive.
Used by the URL-keyed registry in kevy-client so that multiple
Connection::open("mem://name") calls share the same backing store
without leaking it when all strong handles go away.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WeakStore
impl !UnwindSafe for WeakStore
impl Freeze for WeakStore
impl Send for WeakStore
impl Sync for WeakStore
impl Unpin for WeakStore
impl UnsafeUnpin for WeakStore
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