use tycho_core::Bytes; use crate::encoding::{errors::EncodingError, models::Solution}; #[allow(dead_code)] pub trait StrategyEncoder { fn encode_strategy(&self, to_encode: Solution) -> Result<(Vec, Bytes), EncodingError>; fn selector(&self, exact_out: bool) -> &str; } pub trait StrategySelector { #[allow(dead_code)] fn select_strategy(&self, solution: &Solution) -> Box; }