#[non_exhaustive]pub struct ExportOptions {
pub regions: Option<Vec<String>>,
pub depth: Option<usize>,
pub accept_stale_pages: bool,
}Expand description
Export through a caller’s sink (Store::export, Store::export_with):
its options, the header and each region’s info a sink is told, the
sink’s trait and errors, and the report.
How Store::export_with exports.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.regions: Option<Vec<String>>The regions to export, by name, each once (None: every region, in
the store’s order). A subset is exported in the store’s order; the
volume-wide refusals (a frozen store, lost or stale pages,
unavailable entries) stand whatever it names.
depth: Option<usize>The export stream’s reads in flight, 1 to
MAX_DEPTH (None: the stream’s default, as
StreamOptions).
accept_stale_pages: boolExport a store with stale or lost table pages or unavailable
entries as far as it can be, as
CopyOptions::accept_stale_pages:
what is left out is in the header’s VolumeFacts. A region of a
stale page is exported in full, and only from a read-only open.
Trait Implementations§
Source§impl Clone for ExportOptions
impl Clone for ExportOptions
Source§fn clone(&self) -> ExportOptions
fn clone(&self) -> ExportOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more