#[non_exhaustive]#[repr(u8)]pub enum ColumnKind {
Show 23 variants
Boolean = 1,
Byte = 2,
Short = 3,
Int = 4,
Long = 5,
Float = 6,
Double = 7,
Symbol = 9,
Timestamp = 10,
Date = 11,
Uuid = 12,
Long256 = 13,
Geohash = 14,
Varchar = 15,
TimestampNanos = 16,
DoubleArray = 17,
LongArray = 18,
Decimal64 = 19,
Decimal128 = 20,
Decimal256 = 21,
Char = 22,
Binary = 23,
Ipv4 = 24,
}Expand description
QWP wire type code.
#[non_exhaustive] because the QWP type table is append-only — new
type codes may be added in future protocol revisions, and exhaustive
matches in downstream code shouldn’t break when that happens.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Boolean = 1
Byte = 2
Short = 3
Int = 4
Long = 5
Float = 6
Double = 7
Symbol = 9
Timestamp = 10
Microsecond-precision timestamp.
Date = 11
Uuid = 12
Long256 = 13
Geohash = 14
Varchar = 15
TimestampNanos = 16
Nanosecond-precision timestamp.
DoubleArray = 17
LongArray = 18
Decimal64 = 19
Decimal128 = 20
Decimal256 = 21
Char = 22
Binary = 23
Ipv4 = 24
Implementations§
Trait Implementations§
Source§impl Clone for ColumnKind
impl Clone for ColumnKind
Source§fn clone(&self) -> ColumnKind
fn clone(&self) -> ColumnKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ColumnKind
Source§impl Debug for ColumnKind
impl Debug for ColumnKind
impl Eq for ColumnKind
Source§impl Hash for ColumnKind
impl Hash for ColumnKind
Source§impl PartialEq for ColumnKind
impl PartialEq for ColumnKind
impl StructuralPartialEq for ColumnKind
Source§impl TryFrom<ColumnKind> for SimpleNullKind
impl TryFrom<ColumnKind> for SimpleNullKind
Source§fn try_from(k: ColumnKind) -> Result<Self, Self::Error>
fn try_from(k: ColumnKind) -> Result<Self, Self::Error>
Returns the input kind in Err when it’s not a simple-null kind, so
the caller can build a context-rich error message pointing at the
dedicated variant the user needed.
Source§type Error = ColumnKind
type Error = ColumnKind
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ColumnKind
impl RefUnwindSafe for ColumnKind
impl Send for ColumnKind
impl Sync for ColumnKind
impl Unpin for ColumnKind
impl UnsafeUnpin for ColumnKind
impl UnwindSafe for ColumnKind
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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