[−][src]Trait veriform::decoder::DecodeRef
Try to decode a field to a reference of the given type.
This trait is intended to be impl'd by the Decoder
type.
Required methods
fn decode_ref<'a>(
&mut self,
tag: Tag,
input: &mut &'a [u8]
) -> Result<&'a T, Error>
&mut self,
tag: Tag,
input: &mut &'a [u8]
) -> Result<&'a T, Error>
Try to decode a reference to type T
Implementors
impl<D> DecodeRef<[u8]> for Decoder<D> where
D: Digest,
[src]
D: Digest,
impl<D> DecodeRef<str> for Decoder<D> where
D: Digest,
[src]
D: Digest,