pub struct ArcDeltaDbWrapper {
pub inner: Option<Arc<dyn DeltaDbTrait>>,
pub lru: Option<Weak<Mutex<dyn OnDemandOpenDeltaDbInnerTrait>>>,
pub mpt_id: u16,
}
Fields§
§inner: Option<Arc<dyn DeltaDbTrait>>
§lru: Option<Weak<Mutex<dyn OnDemandOpenDeltaDbInnerTrait>>>
§mpt_id: u16
Implementations§
source§impl ArcDeltaDbWrapper
impl ArcDeltaDbWrapper
pub fn db_ref(&self) -> &dyn DeltaDbTrait
Trait Implementations§
source§impl Clone for ArcDeltaDbWrapper
impl Clone for ArcDeltaDbWrapper
source§fn clone(&self) -> ArcDeltaDbWrapper
fn clone(&self) -> ArcDeltaDbWrapper
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Drop for ArcDeltaDbWrapper
impl Drop for ArcDeltaDbWrapper
source§impl KeyValueDbTypes for ArcDeltaDbWrapper
impl KeyValueDbTypes for ArcDeltaDbWrapper
source§impl OwnedReadImplFamily for &ArcDeltaDbWrapper
impl OwnedReadImplFamily for &ArcDeltaDbWrapper
type FamilyRepresentative = dyn KeyValueDbTraitMultiReader<ValueType = <ArcDeltaDbWrapper as KeyValueDbTypes>::ValueType>
source§impl Deref for ArcDeltaDbWrapper
impl Deref for ArcDeltaDbWrapper
impl KeyValueDbTraitMultiReader for ArcDeltaDbWrapper
Auto Trait Implementations§
impl !RefUnwindSafe for ArcDeltaDbWrapper
impl Send for ArcDeltaDbWrapper
impl Sync for ArcDeltaDbWrapper
impl Unpin for ArcDeltaDbWrapper
impl !UnwindSafe for ArcDeltaDbWrapper
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