pub struct RowParser {
pub(crate) config: RowConfig,
}Expand description
A RowParser can be created from a RowConverter and used to parse bytes to Row
Fields§
§config: RowConfigImplementations§
Source§impl RowParser
impl RowParser
pub(crate) fn new(fields: Arc<[SortField]>) -> Self
Sourcepub(crate) unsafe fn with_skip_utf8_validate(fields: Arc<[SortField]>) -> Self
pub(crate) unsafe fn with_skip_utf8_validate(fields: Arc<[SortField]>) -> Self
Like RowConverter::parser but skips UTF-8 validation on decode.
§Safety
The caller must ensure all row bytes contain valid UTF-8 for string columns.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RowParser
impl RefUnwindSafe for RowParser
impl Send for RowParser
impl Sync for RowParser
impl Unpin for RowParser
impl UnsafeUnpin for RowParser
impl UnwindSafe for RowParser
Blanket Implementations§
impl<T> Allocation for T
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