pub fn read_server_rails<R>(
r: &mut R,
want: usize,
) -> Result<Vec<VerbsServerParams>, Error>where
R: Read,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.