pub struct TimestampCodec;Expand description
Delta-encoded varint timestamps.
The first value is stored as an absolute little-endian i64 (8 bytes).
Subsequent values are stored as zigzag-encoded LEB128 varints representing
the delta from the previous timestamp.
Trait Implementations§
Source§impl ColumnCodec for TimestampCodec
impl ColumnCodec for TimestampCodec
Auto Trait Implementations§
impl Freeze for TimestampCodec
impl RefUnwindSafe for TimestampCodec
impl Send for TimestampCodec
impl Sync for TimestampCodec
impl Unpin for TimestampCodec
impl UnsafeUnpin for TimestampCodec
impl UnwindSafe for TimestampCodec
Blanket Implementations§
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