pub struct RawRow {
pub data: Bytes,
}Expand description
Raw row data (not yet decoded).
Fields§
§data: BytesRaw column values.
Implementations§
Source§impl RawRow
impl RawRow
Sourcepub fn decode(
src: &mut impl Buf,
metadata: &ColMetaData,
) -> Result<Self, ProtocolError>
pub fn decode( src: &mut impl Buf, metadata: &ColMetaData, ) -> Result<Self, ProtocolError>
Decode a ROW token from bytes.
This function requires the column metadata to know how to parse the row. The row data is stored as raw bytes for later parsing.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RawRow
impl RefUnwindSafe for RawRow
impl Send for RawRow
impl Sync for RawRow
impl Unpin for RawRow
impl UnwindSafe for RawRow
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