pub fn as_data(&self) -> &DataPayload {
        match self {
            BlockPayload::Data(data) => data,
            _ => panic!("No data payload available on a summary block."),
        }
    }
/// Returns a reference to DKG data. Panics if called on a summary
/// payload.
Returns a reference to DKG data. Panics if called on a summary
payload.
Returns a reference to DKG data . Panics if called on a summary payload .
pub fn as_data(&self) -> &DataPayload {
        match self {
            BlockPayload::Data(data) => data,
            _ => panic!("No data payload available on a summary block."),
        }
    }
pub fn as_data ( & self ) -> & DataPayload { match self { BlockPayload :: Data ( data ) => data , _ => panic ! ( " " ) , } }
Returns a reference to DKG data.
Returns a reference to DKG data .
&self
&self