read_server_rails

Function read_server_rails 

Source
pub fn read_server_rails<R: Read>(
    r: &mut R,
    want: usize,
) -> Result<Vec<VerbsServerParams>>
Expand description

Read want per-rail VerbsServerParams framed by a leading [u8 n_rails]. Bails if the framed count is zero, absurd (> 8), or != want — the client already negotiated want rails, so any other count is a protocol error.