pub struct TCompactOutputStreamProtocol<T>where
    T: AsyncWrite + Unpin + Send,
{ /* private fields */ }
Available on crate feature async only.
Expand description

Write messages asyncronously using the Thrift compact protocol.

Implementations§

Create a TCompactOutputProtocol that writes bytes to transport.

Trait Implementations§

Formats the value using the given formatter. Read more
Write the beginning of a Thrift message.
Write the end of a Thrift message.
Write the beginning of a Thrift struct.
Write the end of a Thrift struct.
Write the beginning of a Thrift field.
Write the end of a Thrift field.
Write a STOP field indicating that all the fields in a struct have been written.
Write a bool.
Write a fixed-length byte array.
Write an 8-bit signed integer.
Write a 16-bit signed integer.
Write a 32-bit signed integer.
Write a 64-bit signed integer.
Write a 64-bit float.
Write a fixed-length string.
Write the beginning of a list.
Write the end of a list.
Write the beginning of a set.
Write the end of a set.
Write the beginning of a map.
Write the end of a map.
Flush buffered bytes to the underlying transport.
Write an unsigned byte. Read more

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.