fn str_id(&self) -> &'static str {
        match self {
            Work::GossipAttestation { .. } => GOSSIP_ATTESTATION,
            Work::GossipAggregate { .. } => GOSSIP_AGGREGATE,
            Work::GossipBlock { .. } => GOSSIP_BLOCK,
            Work::DelayedImportBlock { .. } => DELAYED_IMPORT_BLOCK,
            Work::GossipVoluntaryExit { .. } => GOSSIP_VOLUNTARY_EXIT,
            Work::GossipProposerSlashing { .. } => GOSSIP_PROPOSER_SLASHING,
            Work::GossipAttesterSlashing { .. } => GOSSIP_ATTESTER_SLASHING,
            Work::RpcBlock { .. } => RPC_BLOCK,
            Work::ChainSegment { .. } => CHAIN_SEGMENT,
            Work::Status { .. } => STATUS_PROCESSING,
            Work::BlocksByRangeRequest { .. } => BLOCKS_BY_RANGE_REQUEST,
            Work::BlocksByRootsRequest { .. } => BLOCKS_BY_ROOTS_REQUEST,
        }
    }
/// Provides a `&str` that uniquely identifies each enum variant.
Provides a `&str` that uniquely identifies each enum variant.
Provides a ` &str ` that uniquely identifies each enum variant .
fn str_id(&self) -> &'static str {
        match self {
            Work::GossipAttestation { .. } => GOSSIP_ATTESTATION,
            Work::GossipAggregate { .. } => GOSSIP_AGGREGATE,
            Work::GossipBlock { .. } => GOSSIP_BLOCK,
            Work::DelayedImportBlock { .. } => DELAYED_IMPORT_BLOCK,
            Work::GossipVoluntaryExit { .. } => GOSSIP_VOLUNTARY_EXIT,
            Work::GossipProposerSlashing { .. } => GOSSIP_PROPOSER_SLASHING,
            Work::GossipAttesterSlashing { .. } => GOSSIP_ATTESTER_SLASHING,
            Work::RpcBlock { .. } => RPC_BLOCK,
            Work::ChainSegment { .. } => CHAIN_SEGMENT,
            Work::Status { .. } => STATUS_PROCESSING,
            Work::BlocksByRangeRequest { .. } => BLOCKS_BY_RANGE_REQUEST,
            Work::BlocksByRootsRequest { .. } => BLOCKS_BY_ROOTS_REQUEST,
        }
    }
fn str_id ( & self ) -> & ' static str { match self { Work :: GossipAttestation { .. } => GOSSIP_ATTESTATION , Work :: GossipAggregate { .. } => GOSSIP_AGGREGATE , Work :: GossipBlock { .. } => GOSSIP_BLOCK , Work :: DelayedImportBlock { .. } => DELAYED_IMPORT_BLOCK , Work :: GossipVoluntaryExit { .. } => GOSSIP_VOLUNTARY_EXIT , Work :: GossipProposerSlashing { .. } => GOSSIP_PROPOSER_SLASHING , Work :: GossipAttesterSlashing { .. } => GOSSIP_ATTESTER_SLASHING , Work :: RpcBlock { .. } => RPC_BLOCK , Work :: ChainSegment { .. } => CHAIN_SEGMENT , Work :: Status { .. } => STATUS_PROCESSING , Work :: BlocksByRangeRequest { .. } => BLOCKS_BY_RANGE_REQUEST , Work :: BlocksByRootsRequest { .. } => BLOCKS_BY_ROOTS_REQUEST , } }
Provides a `&str` that uniquely identifies each enum variant.
Provides a ` &str ` that uniquely identifies each enum variant .
&self