#[non_exhaustive]pub enum OutFormat {
Csv,
Feather,
Ndjson,
Parquet,
}Expand description
Output file format for data conversion.
All variants are always present regardless of enabled features. Attempting to use a format whose feature is not enabled will result in a compile-time error in the writer code.
This enum is #[non_exhaustive]: new format variants may be added in
minor releases. Match with a wildcard arm to remain forward-compatible.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Csv
Comma-separated values.
Feather
Feather (Arrow IPC) format.
Ndjson
Newline-delimited JSON.
Parquet
Apache Parquet columnar format.
Trait Implementations§
Source§impl FromStr for OutFormat
impl FromStr for OutFormat
Source§fn from_str(s: &str) -> Result<Self, Self::Err>
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a format name (case-insensitive) into an OutFormat.
Accepted values: "csv", "feather", "ndjson", "parquet".
§Errors
Returns ReadStatError::Other for unrecognized format strings.
Source§type Err = ReadStatError
type Err = ReadStatError
The associated error which can be returned from parsing.
impl Copy for OutFormat
Auto Trait Implementations§
impl Freeze for OutFormat
impl RefUnwindSafe for OutFormat
impl Send for OutFormat
impl Sync for OutFormat
impl Unpin for OutFormat
impl UnsafeUnpin for OutFormat
impl UnwindSafe for OutFormat
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