Expand description
This module contains the types and functions used to encode and decode Fast messages. The contents of this module are not needed for normal client or server consumers of this crate, but they are exposed for the special case of someone needing to implement custom client or server code.
Structs§
- Fast
Message - Represents a Fast message including the header and data payload
- Fast
Message Data - Encapsulates the Fast message metadata and the JSON formatted message data.
- Fast
Message Header - This type encapsulates the header of a Fast message.
- Fast
Message Id - A data type representing a Fast message id that can safely be shard between
threads. The
next
associated function retrieves the next id value and manages the circular message id space internally. - Fast
Message Meta Data - Represents the metadata about a
FastMessage
data payload. This includes a timestamp and an RPC method name. - Fast
Message Server Error - An error type representing Fast error messages that may be returned from a Fast server.
- FastRpc
- This type implements the functions necessary for the Fast protocl framing.
Enums§
- Fast
Message Status - Represents the Status field of a Fast message.
- Fast
Message Type - Represents the Type field of a Fast message. Currently there is only one valid value, JSON.
- Fast
Parse Error - An error type representing a failure to parse a buffer as a Fast message.
Constants§
- FP_
HEADER_ SZ - The size of a Fast message header