Function async_codec_util::testing::unexpected_eof_errors [] [src]

pub fn unexpected_eof_errors<R: AsyncRead, D: AsyncDecode<R>>(
    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.