pub enum FileOutputMode {
Automatic,
SingleFile,
Directory,
}Expand description
Determines how FileSink output paths are interpreted.
Variants§
Automatic
Infer output mode from the output URL (for example, by extension / trailing /).
SingleFile
Write to a single output file at the exact output path.
Directory
Write to a directory under the output path with generated filenames.
Implementations§
Source§impl FileOutputMode
impl FileOutputMode
Sourcepub fn single_file_output(self, base_output_path: &ListingTableUrl) -> bool
pub fn single_file_output(self, base_output_path: &ListingTableUrl) -> bool
Resolve this mode into a single_file_output boolean for the demuxer.
Trait Implementations§
Source§impl Clone for FileOutputMode
impl Clone for FileOutputMode
Source§fn clone(&self) -> FileOutputMode
fn clone(&self) -> FileOutputMode
Returns a duplicate 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 FileOutputMode
impl Debug for FileOutputMode
Source§impl Default for FileOutputMode
impl Default for FileOutputMode
Source§fn default() -> FileOutputMode
fn default() -> FileOutputMode
Returns the “default value” for a type. Read more
Source§impl From<FileOutputMode> for Option<bool>
impl From<FileOutputMode> for Option<bool>
Source§fn from(value: FileOutputMode) -> Self
fn from(value: FileOutputMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FileOutputMode
impl PartialEq for FileOutputMode
impl Copy for FileOutputMode
impl Eq for FileOutputMode
impl StructuralPartialEq for FileOutputMode
Auto Trait Implementations§
impl Freeze for FileOutputMode
impl RefUnwindSafe for FileOutputMode
impl Send for FileOutputMode
impl Sync for FileOutputMode
impl Unpin for FileOutputMode
impl UnsafeUnpin for FileOutputMode
impl UnwindSafe for FileOutputMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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