[][src]Crate fbthrift

Re-exports

pub use crate::application_exception::ApplicationException;
pub use crate::application_exception::ApplicationExceptionErrorCode;
pub use crate::binary_protocol::BinaryProtocol;
pub use crate::compact_protocol::CompactProtocol;
pub use crate::context_stack::ContextStack;
pub use crate::deserialize::Deserialize;
pub use crate::framing::Framing;
pub use crate::framing::FramingDecoded;
pub use crate::framing::FramingEncoded;
pub use crate::framing::FramingEncodedFinal;
pub use crate::processor::NullServiceProcessor;
pub use crate::processor::ServiceProcessor;
pub use crate::processor::ThriftService;
pub use crate::protocol::Field;
pub use crate::protocol::Protocol;
pub use crate::protocol::ProtocolDecoded;
pub use crate::protocol::ProtocolEncoded;
pub use crate::protocol::ProtocolEncodedFinal;
pub use crate::protocol::ProtocolReader;
pub use crate::protocol::ProtocolWriter;
pub use crate::request_context::RequestContext;
pub use crate::serialize::Serialize;
pub use crate::simplejson_protocol::SimpleJsonProtocol;
pub use crate::thrift_protocol::MessageType;
pub use crate::thrift_protocol::ProtocolID;
pub use crate::ttype::GetTType;
pub use crate::ttype::TType;

Modules

application_exception
binary_protocol
compact_protocol
context_stack
deserialize
export
framing
processor
protocol
request_context
serialize
simplejson_protocol
thrift_protocol
ttype
types

Macros

serialize

Protocol::serializer wants the same serializer closure passed twice so that it can specialize it for two types: once to compute the size, and a second time to actually serialize the content. This macro helps by taking the factory type and applying the serializer expression twice.

Enums

NonthrowingFunctionError

Error value returned by functions that do not throw any user-defined exceptions.

ProtocolError

Constants

__UNKNOWN_ID

Set the default ID's for unknown exceptions and fields. When reading off the wire, these default values will be overridden with the unrecognized id (which must be nonnegative).

Traits

BufExt
BufMutExt
ClientFactory
ThriftEnum
Transport