1pub trait Decoder { 2 //TODO: Think of returning Result istread of walue for logs in future 3 fn decode(data: &[u8]) -> Self where Self : Sized; 4}