pub enum WriterMessage {
Batch(RecordBatch),
Shutdown,
}Expand description
Message type for the writer channel.
Variants§
Batch(RecordBatch)
A batch to write to ClickHouse.
Shutdown
Signal the writer to shut down after draining remaining batches.
Auto Trait Implementations§
impl Freeze for WriterMessage
impl !RefUnwindSafe for WriterMessage
impl Send for WriterMessage
impl Sync for WriterMessage
impl Unpin for WriterMessage
impl UnsafeUnpin for WriterMessage
impl !UnwindSafe for WriterMessage
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