Crate reactive_messaging
source ·Modules
- Re-exports of types useful for users of this crate
Macros
- Instantiates & allocates resources for a GenericSocketClient, ready to be later started by spawn_unresponsive_client_processor!() or spawn_responsive_client_processor!().
Params: - Instantiates & allocates resources for a GenericSocketServer, ready to be later started by spawn_unresponsive_server_processor!() or spawn_responsive_server_processor!().
Params:
Structs
- Real definition & implementation for our Socket Client, full of generic parameters.
Probably you want to instantiate this structure through the sugared macro new_socket_client!() instead. Generic Parameters: - Real definition & implementation for our Socket Server, full of generic parameters.
Probably you want to instantiate this structure through the sugared macro new_socket_server!() instead. Generic Parameters:
Enums
- Represents a client built out of
CONFIG(au64version of ConstConfig, from which the other const generic parameters derive).
Don’t instantiate this struct directly – use new_socket_client!() instead. - Represents a server built out of
CONFIG(au64version of ConstConfig, from which the other const generic parameters derive).
Don’t instantiate this struct directly – use new_socket_server!() instead.
Traits
- Trait that should be implemented by enums that model the “remote messages” to be consumed by a “Responsive Processor” – “remote messages” may either be messages produced by the remote server or by the remote client (when we are implementing the opposite peer).
This trait, therefore, specifies how todeserialize()enum variants received by the remote peer (like RON, for textual protocols) - Trait that should be implemented by enums that model the “local messages” to be sent to the remote peer – “local messages” may either be messages generated by the server or by the client, depending on if you’re building a server or client.
This trait, therefore, specifies how to:
Functions
- RON deserializer
- RON serializer