ExaHasArrayType

Trait ExaHasArrayType 

Source
pub trait ExaHasArrayType: Type<Exasol> { }
Expand description

Marker trait that limits arrays encoding to one dimensioanl arrays.

Implementing it for some type T enables relevant Type, Encode and sqlx_core::decode::Decode impls for Vec<T>, &T (slices), [[T;N]] (arrays), ExaIter, etc.

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.

Implementations on Foreign Types§

Source§

impl ExaHasArrayType for &str

Source§

impl ExaHasArrayType for bool

Source§

impl ExaHasArrayType for f64

Source§

impl ExaHasArrayType for i8

Source§

impl ExaHasArrayType for i16

Source§

impl ExaHasArrayType for i32

Source§

impl ExaHasArrayType for i64

Source§

impl ExaHasArrayType for Box<str>

Source§

impl ExaHasArrayType for Rc<str>

Source§

impl ExaHasArrayType for String

Source§

impl ExaHasArrayType for Arc<str>

Source§

impl<T> ExaHasArrayType for Option<T>
where T: ExaHasArrayType,

Source§

impl<T> ExaHasArrayType for &T
where T: ExaHasArrayType,

Source§

impl<T> ExaHasArrayType for Text<T>
where T: ExaHasArrayType,

Implementors§