pub struct TableWriter { /* private fields */ }Expand description
Buffered writer for a single table’s SQL file.
Implementations§
Source§impl TableWriter
impl TableWriter
Sourcepub fn write_statement(&mut self, stmt: &[u8]) -> Result<()>
pub fn write_statement(&mut self, stmt: &[u8]) -> Result<()>
Write a SQL statement followed by a newline, flushing periodically.
Auto Trait Implementations§
impl Freeze for TableWriter
impl RefUnwindSafe for TableWriter
impl Send for TableWriter
impl Sync for TableWriter
impl Unpin for TableWriter
impl UnsafeUnpin for TableWriter
impl UnwindSafe for TableWriter
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