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 UnsafeUnpin 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more