Trait StringLikeArrayBuilder
pub trait StringLikeArrayBuilder: ArrayBuilder {
// Required methods
fn type_name() -> &'static str;
fn with_capacity(capacity: usize) -> Self;
fn append_value(&mut self, value: &str);
fn append_null(&mut self);
}Expand description
Trait for string-like array builders
This trait provides unified interface for builders that append string-like data
such as GenericStringBuilder<O> and crate::builder::StringViewBuilder
Required Methods§
fn with_capacity(capacity: usize) -> Self
fn with_capacity(capacity: usize) -> Self
Creates a new builder with the given row capacity.
fn append_value(&mut self, value: &str)
fn append_value(&mut self, value: &str)
Appends a non-null string value to the builder.
fn append_null(&mut self)
fn append_null(&mut self)
Appends a null value to the builder.
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.