Type Alias hotshot_types::drb::DrbComputation

source ·
pub type DrbComputation<TYPES> = Option<(<TYPES as NodeType>::Epoch, JoinHandle<DrbResult>)>;
Expand description

Alias for in-progress DRB computation task, if there’s any.

Aliased Type§

enum DrbComputation<TYPES> {
    None,
    Some((<TYPES as NodeType>::Epoch, JoinHandle<[u8; 32]>)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((<TYPES as NodeType>::Epoch, JoinHandle<[u8; 32]>))

Some value of type T.