pub struct RowCodec;Implementations§
Source§impl RowCodec
impl RowCodec
pub fn encode_values(values: &[Value]) -> Result<Vec<u8>>
pub fn encode_stored_row(row: &StoredRow) -> Result<Vec<u8>>
pub fn decode_values(data: &[u8]) -> Result<Vec<Value>>
pub fn decode_stored_row(data: &[u8]) -> Result<StoredRow>
pub fn read_payload_length(prefix: &[u8]) -> Result<usize>
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§
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