pub trait Decoder: Send { // Required method fn decode(&self, data: &str) -> Result<Vec<u8>, Box<dyn Error>>; }