Crate webrtc_sctp[][src]

Modules

error
packet

SCTP packet parsing and synthesis

stack

The SCTP stack is implemented as a single future that can be provided to Tokio. It delegates internally to child futures (e.g. for associations).

util

Utility functions useful for debugging and development.

Structs

Message

A message in SCTP is the basic unit of data used by the upper-layer protocol, and is split over one or more DATA chunks for transmission.

UserMessage

A UserMessage represents a message that has been provided to (or is being provided by) the upper-layer protocol. The only difference between this and message is that a UserMessage doesn't track its payload in a Buffer. TODO: This is awkward. We should find some way to use the same struct for both purposes, even if it means exposing the user to Buffer.