Creates a [`Row`] from the provided `bytes`. `bytes` must be a [`Row`] produced by the [`RowConverter`] associated with this [`RowParser`], otherwise subsequent operations with the produced [`Row`] may panic
(&'a self, bytes: &'a [u8])
| 1203 | /// `bytes` must be a [`Row`] produced by the [`RowConverter`] associated with |
| 1204 | /// this [`RowParser`], otherwise subsequent operations with the produced [`Row`] may panic |
| 1205 | pub fn parse<'a>(&'a self, bytes: &'a [u8]) -> Row<'a> { |
| 1206 | Row { |
| 1207 | data: bytes, |
| 1208 | config: &self.config, |
| 1209 | } |
| 1210 | } |
| 1211 | } |
| 1212 | |
| 1213 | /// The config of a given set of [`Row`] |
no outgoing calls