Skip to main content

read_start

Function read_start 

Source
pub fn read_start(input: &mut impl Read) -> Result<Option<Start>, Error>
Expand description

Read the first exchange with its fixed bound before allocating the payload.

ยงErrors

Propagates framing and envelope refusals; returns embed_protocol when the first message is not Start.