Skip to main content

Module data_stream

Module data_stream 

Source
Expand description

Data stream headers (subgroup, datagram, fetch, object).

Re-exportsΒ§

use super::types::ObjectStatus; πŸ”’
use crate::error::CodecError; πŸ”’
use crate::varint::VarInt; πŸ”’
use bytes::Buf; πŸ”’
use bytes::BufMut; πŸ”’

StructsΒ§

DatagramHeader
Datagram header (draft-07).
FetchHeader
Fetch stream header (follows the stream type varint).
FetchObjectHeader
Object within a fetch stream.
ObjectHeader
Object within a subgroup stream.
SubgroupHeader
Subgroup stream header (follows the stream type varint).

EnumsΒ§

Datagram
One datagram, of whichever shape its type field names.
StreamType
Every type ID this draft’s data plane assigns, from the single table it keeps them in.

FunctionsΒ§

stream_type_error πŸ”’
Which failure a leading type that is not the one a reader wants is.