Function unexpected_eof_errors

Source
pub fn unexpected_eof_errors<R: AsyncRead, D: AsyncDecode>(
    reader: R,
    dec: D,
) -> bool
Expand description

Returns whether the given decoder returns an error of kind UnexpectedEof when trying to fully decode from the given reader.