Skip to main content

Module protocol

Module protocol 

Source
Expand description

AimX Protocol Types

Re-exports the protocol types from aimdb-core that the client surface uses. Framing and correlation live in the engine (crate::engine::AimxConnection), not here.

Structs§

ErrorObject
Error object in response
Event
Event message from server (subscription push)
HelloMessage
Client hello message
RecordMetadata
Metadata about a registered record type
Request
Request message from client
WelcomeMessage
Server welcome message

Enums§

Response
Response message from server

Constants§

CLIENT_NAME
Client identifier
PROTOCOL_VERSION
Version of the AimX wire protocol spoken by this crate.

Functions§

version_compatible
Whether a peer advertising their_version is wire-compatible with this crate’s PROTOCOL_VERSION.