Enum SinkDestination
pub enum SinkDestination {
File {
target: SinkTarget,
},
Partitioned {
base_path: PlPath,
file_path_provider: Option<PartitionTargetCallback>,
partition_strategy: PartitionStrategy,
finish_callback: Option<SinkFinishCallback>,
},
}Variants§
File
Fields
§
target: SinkTargetPartitioned
Fields
§
file_path_provider: Option<PartitionTargetCallback>§
partition_strategy: PartitionStrategy§
finish_callback: Option<SinkFinishCallback>Implementations§
§impl SinkDestination
impl SinkDestination
pub fn cloud_scheme(&self) -> Option<CloudScheme>
Trait Implementations§
§impl Clone for SinkDestination
impl Clone for SinkDestination
§fn clone(&self) -> SinkDestination
fn clone(&self) -> SinkDestination
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 more§impl Debug for SinkDestination
impl Debug for SinkDestination
§impl PartialEq for SinkDestination
impl PartialEq for SinkDestination
impl StructuralPartialEq for SinkDestination
Auto Trait Implementations§
impl Freeze for SinkDestination
impl !RefUnwindSafe for SinkDestination
impl Send for SinkDestination
impl Sync for SinkDestination
impl Unpin for SinkDestination
impl !UnwindSafe for SinkDestination
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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