Expand description
Core protocol types shared across drafts.
Structs§
- Full
Track Name - Full Track Name: a Track Namespace and the Track Name within it.
- Location
- Location within a track: (Group, Object).
- Track
Namespace - Track Namespace: an ordered set of Track Namespace Fields.
- Track
Namespace Rules - What a MoQ Transport draft states about a Track Namespace in Section 2.4.1 “Track Naming”.
Enums§
- Content
Exists - Whether content exists (used in SUBSCRIBE_OK).
- Filter
Type - Subscription filter types, named as draft-14 names them.
- Forward
- Forward state (0 = don’t forward, 1 = forward).
- Forwarding
Preference - Forwarding preference for objects.
- Group
Order - Group ordering preference.
- Object
Status - Object status values, from MoQ Transport draft-14 Section 10.2.1.1 “Object Status”.
- Token
Alias Type - Authorization token alias types.
Functions§
- check_
group_ range - Refuse a subscription whose End Group is earlier than its start group, where the End Group is inclusive and always present.
- check_
location_ range - Refuse a range whose end is earlier than its start, where the End Group is the last Group ID and the End Object is the last Object ID plus one.
- check_
open_ ended_ group_ range - Refuse a SUBSCRIBE_UPDATE whose End Group is earlier than its start group.
- read_
bytes - Read exactly
lenbytes frombuf, returning them as aVec<u8>. - reserve_
bounded - Reserve space for
countitems without trustingcount.