MCPcopy Create free account
hub / github.com/apache/thrift / skip

Method skip

lib/rs/src/protocol/mod.rs:192–194  ·  view source on GitHub ↗

Skip a field with type `field_type` recursively until the default maximum skip depth is reached.

(&mut self, field_type: TType)

Source from the content-addressed store, hash-verified

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 {

Implementers 4

compact.rslib/rs/src/protocol/compact.rs
binary.rslib/rs/src/protocol/binary.rs
mod.rslib/rs/src/protocol/mod.rs
stored.rslib/rs/src/protocol/stored.rs

Calls 1

skip_till_depthMethod · 0.80

Tested by

no test coverage detected