pub struct RowCodec;Expand description
RowCodec converts between Vec<SqlValue> and a binary TLV format with a null bitmap.
Format:
[column_count: u16 LE]
[null_bitmap: ceil(count/8) bytes] // bit=1 means NULL
for each non-null column:
[type_tag: u8]
[value_bytes: variable length]Implementations§
Auto Trait Implementations§
impl Freeze for RowCodec
impl RefUnwindSafe for RowCodec
impl Send for RowCodec
impl Sync for RowCodec
impl Unpin for RowCodec
impl UnsafeUnpin for RowCodec
impl UnwindSafe for RowCodec
Blanket Implementations§
impl<T> Allocation for T
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