pub struct RawBytesCodec;Expand description
Length-prefixed raw byte strings.
Used for ITC stamps and other variable-length fields that don’t benefit from string interning or dictionary encoding.
Layout:
[len_0: u16 LE] [bytes_0...]
[len_1: u16 LE] [bytes_1...]
...Trait Implementations§
Source§impl ColumnCodec for RawBytesCodec
impl ColumnCodec for RawBytesCodec
Auto Trait Implementations§
impl Freeze for RawBytesCodec
impl RefUnwindSafe for RawBytesCodec
impl Send for RawBytesCodec
impl Sync for RawBytesCodec
impl Unpin for RawBytesCodec
impl UnsafeUnpin for RawBytesCodec
impl UnwindSafe for RawBytesCodec
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