pub enum FileFormat {
Parquet(ParquetReadOptions),
Arrow(ArrowReadOptions),
Orc(OrcReadOptions),
Extension(Any),
Dwrf(DwrfReadOptions),
Text(DelimiterSeparatedTextReadOptions),
}
Expand description
The format of the files along with options for reading those files.
Variants§
Parquet(ParquetReadOptions)
Arrow(ArrowReadOptions)
Orc(OrcReadOptions)
Extension(Any)
Dwrf(DwrfReadOptions)
Text(DelimiterSeparatedTextReadOptions)
Implementations§
Source§impl FileFormat
impl FileFormat
Sourcepub fn merge(
field: &mut Option<FileFormat>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<FileFormat>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for FileFormat
impl Clone for FileFormat
Source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileFormat
impl Debug for FileFormat
Source§impl PartialEq for FileFormat
impl PartialEq for FileFormat
impl StructuralPartialEq for FileFormat
Auto Trait Implementations§
impl !Freeze for FileFormat
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
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