pub struct ExportOptions {
pub max_size_bytes: Option<u64>,
pub chunk_size_bytes: Option<u64>,
pub progress_callback: Option<ProgressCallback>,
}Expand description
Options for database export operations
Allows configuration of size limits, chunking behavior, and progress tracking
Fields§
§max_size_bytes: Option<u64>Maximum allowed database size (bytes). None for no limit. Default: 2GB
chunk_size_bytes: Option<u64>Chunk size for streaming large exports (bytes). Export processes this many bytes at a time, yielding to event loop between chunks. Default: 10MB
progress_callback: Option<ProgressCallback>Optional progress callback invoked after each chunk. Called with (bytes_exported_so_far, total_bytes)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ExportOptions
impl !UnwindSafe for ExportOptions
impl Freeze for ExportOptions
impl Send for ExportOptions
impl Sync for ExportOptions
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
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