pub type PayloadSource<'a, R> = Option<(&'a R, Wrapping<u32>)>;Expand description
Defines a segment payload source.
When not None, it contains a ByteBuffer which holds the actual data, and the sequence
number associated with the first byte from the buffer.
Aliased Type§
pub enum PayloadSource<'a, R> {
None,
Some((&'a R, Wrapping<u32>)),
}