pub struct ControlExport {
pub docs: BTreeMap<String, BlobId>,
pub blobs: BTreeMap<BlobId, Vec<u8>>,
pub secrets: BTreeMap<String, Option<Vec<u8>>>,
}Expand description
The control database’s current state, read without taking it off the stripe: every
document pointer, every blob, every secret row (None = a tombstone; values are the SEALED
bytes). What a twin snapshot carries and what a restored box re-seals.
Fields§
§docs: BTreeMap<String, BlobId>Document name → current blob.
blobs: BTreeMap<BlobId, Vec<u8>>Every blob, current and historical.
secrets: BTreeMap<String, Option<Vec<u8>>>Secret key → sealed value, or None for a tombstone.
Trait Implementations§
Source§impl Clone for ControlExport
impl Clone for ControlExport
Source§impl Debug for ControlExport
impl Debug for ControlExport
Auto Trait Implementations§
impl Freeze for ControlExport
impl RefUnwindSafe for ControlExport
impl Send for ControlExport
impl Sync for ControlExport
impl Unpin for ControlExport
impl UnsafeUnpin for ControlExport
impl UnwindSafe for ControlExport
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