read_specific_dyn

Function read_specific_dyn 

Source
pub fn read_specific_dyn<E>(reader: &mut dyn Read) -> Result<E>
where E: EndianRead,
Available on crate feature io-std only.
Expand description

Dyn-friendly adapter for read_specific.

This is purely ergonomic: it lets consumers call the helper from &mut dyn Read contexts without having to name (or be generic over) the reader type.