pub struct RamCopy {
pub why: String,
pub taken_unix_ms: UnixMillis,
/* private fields */
}Expand description
The RAM copy of the control database, taken by ControlDb::suspend
the instant before control.redb’s file is closed and held until
ControlDb::resume reopens it. Every current document pointer, every
blob (current versions, their shards, and the history — the blobs table
whole, because a shard is reached from a document by id and nothing
short of the table says which ids a document reaches), and every sealed
secret row. Reads are answered from it verbatim; writes are refused by
name (Error::OffStripe).
Fields§
§why: StringWhy the store is off the stripe — the growth’s phase, in words.
taken_unix_ms: UnixMillisWhen it was taken, unix ms.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RamCopy
impl RefUnwindSafe for RamCopy
impl Send for RamCopy
impl Sync for RamCopy
impl Unpin for RamCopy
impl UnsafeUnpin for RamCopy
impl UnwindSafe for RamCopy
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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