Trait zff::ValueDecoder
source · [−]pub trait ValueDecoder {
type Item;
fn decode_directly<R: Read>(data: &mut R) -> Result<Self::Item>;
fn check_key_on_position<K: Into<String>, R: Read>(
data: &mut R,
key: K
) -> bool { ... }
fn decode_for_key<K: Into<String>, R: Read>(
data: &mut R,
key: K
) -> Result<Self::Item> { ... }
}Expand description
decoder methods for values (and primitive types). This is an extension trait.
Associated Types
Required methods
Provided methods
helper method to check, if the key is on position.