pub struct Splitter { /* private fields */ }Implementations§
Source§impl Splitter
impl Splitter
pub fn new(input_file: PathBuf, output_dir: PathBuf) -> Self
pub fn with_dialect(self, dialect: SqlDialect) -> Self
pub fn with_dry_run(self, dry_run: bool) -> Self
pub fn with_table_filter(self, tables: Vec<String>) -> Self
pub fn with_progress<F: Fn(u64) + 'static>(self, f: F) -> Self
pub fn with_content_filter(self, filter: ContentFilter) -> Self
pub fn split(self) -> Result<Stats>
Auto Trait Implementations§
impl Freeze for Splitter
impl !RefUnwindSafe for Splitter
impl !Send for Splitter
impl !Sync for Splitter
impl Unpin for Splitter
impl !UnwindSafe for Splitter
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