pub struct WriterPool { /* private fields */ }Implementations§
Source§impl WriterPool
impl WriterPool
pub fn new(output_dir: PathBuf) -> Self
pub fn ensure_output_dir(&self) -> Result<()>
pub fn get_writer(&mut self, table_name: &str) -> Result<&mut TableWriter>
pub fn write_statement(&mut self, table_name: &str, stmt: &[u8]) -> Result<()>
pub fn close_all(&mut self) -> Result<()>
Auto Trait Implementations§
impl Freeze for WriterPool
impl RefUnwindSafe for WriterPool
impl Send for WriterPool
impl Sync for WriterPool
impl Unpin for WriterPool
impl UnwindSafe for WriterPool
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