pub struct TCompactInputProtocol<R> where
    R: Read
{ /* private fields */ }
Expand description

Read messages encoded in the Thrift compact protocol.

Implementations

Create a TCompactInputProtocol that reads bytes from reader.

Trait Implementations

Formats the value using the given formatter. Read more

Seek to an offset, in bytes, in a stream. Read more

Rewind to the beginning of a stream. Read more

🔬 This is a nightly-only experimental API. (seek_stream_len)

Returns the length of this stream (in bytes). Read more

Returns the current seek position from the start of the stream. Read more

Read the beginning of a Thrift message.

Read the end of a Thrift message.

Read the beginning of a Thrift struct.

Read the end of a Thrift struct.

Read the beginning of a Thrift struct field.

Read the end of a Thrift struct field.

Read a bool.

Read a fixed-length byte array.

Read a word.

Read a 16-bit signed integer.

Read a 32-bit signed integer.

Read a 64-bit signed integer.

Read a 64-bit float.

Read a fixed-length string (not null terminated).

Read the beginning of a list.

Read the end of a list.

Read the beginning of a set.

Read the end of a set.

Read the beginning of a map.

Read the end of a map.

Read an unsigned byte. Read more

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

Skip a field with type field_type recursively up to depth levels.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.