[][src]Module zenoh_protocol::proto

Modules

data_kind
encoding
smsg
zmsg

Structs

Accept

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

AckNack

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Attachment

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Close

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Data

7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|I|D| DATA | +-+-+-+---------+ ~ ResKey ~ if K==1 -- Only numerical id +---------------+ ~ DataInfo ~ if I==1 +---------------+ ~ Payload ~ +---------------+

DataInfo

-- DataInfo

DeMux
Declare

7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |X|X|X| DECLARE | +-+-+-+---------+ ~ Declaration ~ +---------------+

Frame

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Hello

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

KeepAlive

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Mux
Open

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Ping

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Pong
Pull

7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|N|F| PULL | +-+-+-+---------+ ~ ResKey ~ if K==1 then only numerical id +---------------+ ~ pullid ~ +---------------+ ~ max_samples ~ if N==1 +---------------+

Query

7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|T| QUERY | +-+-+-+---------+ ~ ResKey ~ if K==1 then only numerical id +---------------+ ~ predicate ~ +---------------+ ~ qid ~ +---------------+ ~ target ~ if T==1 +---------------+ ~ consolidation ~ +---------------+

ReplyContext

-- ReplyContext decorator

Scout

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

SeqNum

Sequence Number

SeqNumGenerator

Sequence Number Generator

SessionMessage
Sync

NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total lenght in bytes of the message, resulting in the maximum lenght of a message being 65_536 bytes. This is necessary in those stream-oriented transports (e.g., TCP) that do not preserve the boundary of the serialized messages. The length is encoded as little-endian. In any case, the lenght of a message must not exceed 65_535 bytes.

Unit

7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |X|X|D| UNIT | +-+-+-+---------+

ZenohMessage

Enums

Declaration
FramePayload
SessionBody
SessionMode
ZenohBody

Traits

Primitives