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.
pub fn unexpected_eof_errors<R: AsyncRead, D: AsyncDecode>(
reader: R,
dec: D,
) -> bool
Returns whether the given decoder returns an error of kind UnexpectedEof
when trying to fully
decode from the given reader.