Enum odbc_api::buffers::AnyColumnViewMut[][src]

pub enum AnyColumnViewMut<'a> {
    Text(TextColumnWriter<'a>),
    Binary(BinColumnWriter<'a>),
    Date(&'a mut [Date]),
    Time(&'a mut [Time]),
    Timestamp(&'a mut [Timestamp]),
    F64(&'a mut [f64]),
    F32(&'a mut [f32]),
    I8(&'a mut [i8]),
    I16(&'a mut [i16]),
    I32(&'a mut [i32]),
    I64(&'a mut [i64]),
    U8(&'a mut [u8]),
    Bit(&'a mut [Bit]),
    NullableDate(OptWriter<'a, Date>),
    NullableTime(OptWriter<'a, Time>),
    NullableTimestamp(OptWriter<'a, Timestamp>),
    NullableF64(OptWriter<'a, f64>),
    NullableF32(OptWriter<'a, f32>),
    NullableI8(OptWriter<'a, i8>),
    NullableI16(OptWriter<'a, i16>),
    NullableI32(OptWriter<'a, i32>),
    NullableI64(OptWriter<'a, i64>),
    NullableU8(OptWriter<'a, u8>),
    NullableBit(OptWriter<'a, Bit>),
}

A mutable borrowed view on the valid rows in a column of a crate::buffers::ColumnarRowSet.

For columns of fixed size types, which are guaranteed to not contain null, a direct access to the slice is offered. Buffers over nullable columns can be accessed via an iterator over options.

Variants

Since we currently always have an indicator buffer for the text length anyway, there is no NULL values are always represntable and there is no dedicated representation for none NULL values.

Binary(BinColumnWriter<'a>)
NullableDate(OptWriter<'a, Date>)
NullableTime(OptWriter<'a, Time>)
NullableTimestamp(OptWriter<'a, Timestamp>)
NullableF64(OptWriter<'a, f64>)
NullableF32(OptWriter<'a, f32>)
NullableI8(OptWriter<'a, i8>)
NullableI16(OptWriter<'a, i16>)
NullableI32(OptWriter<'a, i32>)
NullableI64(OptWriter<'a, i64>)
NullableU8(OptWriter<'a, u8>)
NullableBit(OptWriter<'a, Bit>)

Trait Implementations

impl<'a> Debug for AnyColumnViewMut<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for AnyColumnViewMut<'a>

impl<'a> Send for AnyColumnViewMut<'a>

impl<'a> Sync for AnyColumnViewMut<'a>

impl<'a> Unpin for AnyColumnViewMut<'a>

impl<'a> !UnwindSafe for AnyColumnViewMut<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.