pub(super) trait ShredCode: for<'a> Shred<'a> {
    // Required method
    fn coding_header(&self) -> &CodingShredHeader;

    // Provided method
    fn first_coding_index(&self) -> Option<u32> { ... }
}

Required Methods§

Provided Methods§

Implementors§

source§

impl ShredCode for solana_ledger::shred::legacy::ShredCode

source§

impl ShredCode for solana_ledger::shred::merkle::ShredCode