pub fn get_slot(shred: &[u8]) -> Option<Slot>