pub struct ValueCodec;Expand description
Type-specific value encoding for event payloads.
Stores each event’s JSON payload as a length-prefixed UTF-8 string with
a u32 length prefix to support payloads larger than 64 KiB.
Layout:
[len_0: u32 LE] [json_0: UTF-8]
[len_1: u32 LE] [json_1: UTF-8]
...Trait Implementations§
Source§impl ColumnCodec for ValueCodec
impl ColumnCodec for ValueCodec
Auto Trait Implementations§
impl Freeze for ValueCodec
impl RefUnwindSafe for ValueCodec
impl Send for ValueCodec
impl Sync for ValueCodec
impl Unpin for ValueCodec
impl UnsafeUnpin for ValueCodec
impl UnwindSafe for ValueCodec
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