pub enum SplitMode {
Lines(u64),
Bytes(u64),
LineBytes(u64),
Number(u64),
}Expand description
Split mode: how to divide the input.
Variants§
Lines(u64)
Split every N lines (default 1000).
Bytes(u64)
Split every N bytes.
LineBytes(u64)
Split at line boundaries, at most N bytes per file.
Number(u64)
Split into exactly N output files (by byte count).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SplitMode
impl RefUnwindSafe for SplitMode
impl Send for SplitMode
impl Sync for SplitMode
impl Unpin for SplitMode
impl UnsafeUnpin for SplitMode
impl UnwindSafe for SplitMode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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