Skip a field with type `field_type` recursively until the default maximum skip depth is reached.
(&mut self, field_type: TType)
| 190 | /// Skip a field with type `field_type` recursively until the default |
| 191 | /// maximum skip depth is reached. |
| 192 | fn skip(&mut self, field_type: TType) -> crate::Result<()> { |
| 193 | self.skip_till_depth(field_type, MAXIMUM_SKIP_DEPTH) |
| 194 | } |
| 195 | /// Skip a field with type `field_type` recursively up to `depth` levels. |
| 196 | fn skip_till_depth(&mut self, field_type: TType, depth: i8) -> crate::Result<()> { |
| 197 | if depth == 0 { |
no test coverage detected