Trait hotshot_types::traits::network::ViewMessage

source ·
pub trait ViewMessage<TYPES: NodeType> {
    // Required method
    fn view_number(&self) -> TYPES::View;
}
Expand description

a message

Required Methods§

source

fn view_number(&self) -> TYPES::View

get the view out of the message

Implementors§

source§

impl<TYPES: NodeType> ViewMessage<TYPES> for MessageKind<TYPES>