Trait storey_encoding::DecodableWith

source ·
pub trait DecodableWith<E: Encoding>: Sized + SealedD<E> {
    // Required method
    fn decode(data: &[u8]) -> Result<Self, E::DecodeError>;
}

Required Methods§

source

fn decode(data: &[u8]) -> Result<Self, E::DecodeError>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E: Encoding, T> DecodableWith<E> for T
where Cover<T>: DecodableWithImpl<E>,