[][src]Trait veriform::decoder::Decode

pub trait Decode<T> {
    fn decode(&mut self, tag: Tag, input: &mut &[u8]) -> Result<T, Error>;
}

Try to decode a field to a value of the given type.

This trait is intended to be impl'd by the Decoder type.

Required methods

fn decode(&mut self, tag: Tag, input: &mut &[u8]) -> Result<T, Error>

Try to decode a value of type T

Loading content...

Implementors

impl<D> Decode<i64> for Decoder<D> where
    D: Digest
[src]

impl<D> Decode<u64> for Decoder<D> where
    D: Digest
[src]

impl<D, M> Decode<M> for Decoder<D> where
    D: Digest,
    M: Message
[src]

Loading content...