Skip to main content

Module message

Module message 

Source
Expand description

Control message types with encode/decode.

Re-exports§

pub use crate::error::CodecError;
pub use crate::error::MAX_FULL_TRACK_NAME_LENGTH;
pub use crate::error::MAX_GOAWAY_URI_LENGTH;
pub use crate::error::MAX_MESSAGE_LENGTH;
pub use crate::error::MAX_NAMESPACE_TUPLE_SIZE;
pub use crate::error::MAX_REASON_PHRASE_LENGTH;

Structs§

ClientSetup
CLIENT_SETUP message (type 0x20).
Fetch
FETCH message (type 0x16).
FetchCancel
FETCH_CANCEL message (type 0x17).
FetchError
FETCH_ERROR message (type 0x19).
FetchOk
FETCH_OK message (type 0x18).
GoAway
GOAWAY message (type 0x10).
MaxRequestId
MAX_REQUEST_ID message (type 0x15).
Publish
PUBLISH message (type 0x1D).
PublishDone
PUBLISH_DONE message (type 0x0B).
PublishError
PUBLISH_ERROR message (type 0x1F).
PublishNamespace
PUBLISH_NAMESPACE message (type 0x06).
PublishNamespaceCancel
PUBLISH_NAMESPACE_CANCEL message (type 0x0C).
PublishNamespaceDone
PUBLISH_NAMESPACE_DONE message (type 0x09).
PublishNamespaceError
PUBLISH_NAMESPACE_ERROR message (type 0x08).
PublishNamespaceOk
PUBLISH_NAMESPACE_OK message (type 0x07).
PublishOk
PUBLISH_OK message (type 0x1E).
RequestsBlocked
REQUESTS_BLOCKED message (type 0x1A).
ServerSetup
SERVER_SETUP message (type 0x21).
Subscribe
SUBSCRIBE message (type 0x03).
SubscribeError
SUBSCRIBE_ERROR message (type 0x05).
SubscribeNamespace
SUBSCRIBE_NAMESPACE message (type 0x11).
SubscribeNamespaceError
SUBSCRIBE_NAMESPACE_ERROR message (type 0x13).
SubscribeNamespaceOk
SUBSCRIBE_NAMESPACE_OK message (type 0x12).
SubscribeOk
SUBSCRIBE_OK message (type 0x04).
SubscribeUpdate
SUBSCRIBE_UPDATE message (type 0x02).
TrackStatus
TRACK_STATUS message (type 0x0D) — subscribe-like request.
TrackStatusError
TRACK_STATUS_ERROR message (type 0x0F).
TrackStatusOk
TRACK_STATUS_OK message (type 0x0E) — subscribe_ok-like response.
Unsubscribe
UNSUBSCRIBE message (type 0x0A).
UnsubscribeNamespace
UNSUBSCRIBE_NAMESPACE message (type 0x14).

Enums§

ControlMessage
A parsed MoQT control message (draft-14).
FetchPayload
FETCH payload — either a standalone fetch or a joining fetch.
FetchType
FETCH type discriminator (standalone vs joining).
MessageType
Control message type IDs (draft-14).