Struct csvsc::Target [−][src]
Helper for building a target for flushing data into.
Implementations
impl Target
[src]
pub fn from_column(name: &str) -> ColumnTarget
[src]
Write output to a file whose path is specified by the given column.
This gives the oportunity to create a stream that writes to multiple files depending on some criteria. It doesn’t write the value of the specified column by default, it is just used to decide the path to the file(s) for writing but that behaviour is configurable.
pub fn path(path: &str) -> impl TargetManager
[src]
Write output to the specified path in the filesystem.
pub fn stdout() -> impl TargetManager
[src]
Write output to stdout
pub fn stderr() -> impl TargetManager
[src]
Write output to stderr
Auto Trait Implementations
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,