pub enum ExportRow<'a> {
Blob(BlobId, &'a [u8]),
Doc(&'a str, BlobId),
Secret(&'a str, Option<&'a [u8]>),
}Expand description
One row of ControlDb::export_each, borrowed from the read transaction (or the RAM copy):
nothing of the database is gathered to hand it over.
Variants§
Blob(BlobId, &'a [u8])
A blob, current or historical.
Doc(&'a str, BlobId)
A document’s current pointer.
Secret(&'a str, Option<&'a [u8]>)
A secret row: the sealed value, or None for a tombstone.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExportRow<'a>
impl<'a> RefUnwindSafe for ExportRow<'a>
impl<'a> Send for ExportRow<'a>
impl<'a> Sync for ExportRow<'a>
impl<'a> Unpin for ExportRow<'a>
impl<'a> UnsafeUnpin for ExportRow<'a>
impl<'a> UnwindSafe for ExportRow<'a>
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