pub enum StreamEncoding {
Csv,
Json,
}
Expand description
The data encoding for StreamTable
Variants§
Trait Implementations§
Source§impl Clone for StreamEncoding
impl Clone for StreamEncoding
Source§fn clone(&self) -> StreamEncoding
fn clone(&self) -> StreamEncoding
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 StreamEncoding
impl Debug for StreamEncoding
Source§impl FromStr for StreamEncoding
impl FromStr for StreamEncoding
Source§type Err = DataFusionError
type Err = DataFusionError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<StreamEncoding, <StreamEncoding as FromStr>::Err>
fn from_str(s: &str) -> Result<StreamEncoding, <StreamEncoding as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreAuto Trait Implementations§
impl Freeze for StreamEncoding
impl RefUnwindSafe for StreamEncoding
impl Send for StreamEncoding
impl Sync for StreamEncoding
impl Unpin for StreamEncoding
impl UnwindSafe for StreamEncoding
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