pub struct CsvSource { /* private fields */ }Available on crate feature
data only.Expand description
Implementations§
Source§impl CsvSource
impl CsvSource
Sourcepub fn parse(
name: impl Into<String>,
text: &str,
options: CsvOptions,
) -> Result<Self, DataError>
pub fn parse( name: impl Into<String>, text: &str, options: CsvOptions, ) -> Result<Self, DataError>
Parse UTF-8 delimited text.
§Errors
When the text has no rows or a row has more fields than the header.
Trait Implementations§
Source§impl DataSource for CsvSource
impl DataSource for CsvSource
impl StructuralPartialEq for CsvSource
Auto Trait Implementations§
impl Forget for CsvSource
impl Freeze for CsvSourcewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Column>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<LineageStep>: Freeze,
PhantomData<ColumnSchema>: Freeze,
impl Move for CsvSource
impl RefUnwindSafe for CsvSource
impl Send for CsvSource
impl Sync for CsvSource
impl Unpin for CsvSource
impl UnsafeUnpin for CsvSourcewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Column>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<LineageStep>: UnsafeUnpin,
PhantomData<ColumnSchema>: UnsafeUnpin,
impl UnwindSafe for CsvSourcewhere
RawVecInner: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[i64]>: UnwindSafe,
Arc<[bool]>: UnwindSafe,
Arc<[String]>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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