pub struct WriteOpts {
pub gzip: bool,
}Expand description
segment 落盘选项。gzip=true 写 .jsonl.gz(每批一个 gzip member,可追加)。
Fields§
§gzip: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteOpts
impl RefUnwindSafe for WriteOpts
impl Send for WriteOpts
impl Sync for WriteOpts
impl Unpin for WriteOpts
impl UnsafeUnpin for WriteOpts
impl UnwindSafe for WriteOpts
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