pub trait Capture { fn get(&self, idx: usize) -> Option<Cow<'_, [u8]>>; fn name(&self, name: &str) -> Option<Cow<'_, [u8]>>; }