pub trait ClientFormat:
ClientFormatImpl<Self::Data>
+ Send
+ Sync
+ 'static {
type Data: Debug + Clone + Send + Sync + 'static;
const FORMAT: &'static str;
}
Expand description
Marker trait for various client formats.
Currently only two formats are in use: ArrowFormat
and NativeFormat
. This approach provides
a simple mechanism to introduce new formats to work with ClickHouse
data without a lot of
overhead and a fullblown serde implementation.
Required Associated Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.