pub fn try_read_message<R>(
    read: R,
    options: ReaderOptions
) -> Result<Option<Reader<OwnedSegments>>>
where R: BufRead,
Expand description

Like read_message(), but returns None instead of an error if there are zero bytes left in read.