pub trait ViewMessage<TYPES: NodeType> {
    // Required methods
    fn view_number(&self) -> TYPES::Time;
    fn purpose(&self) -> MessagePurpose;
}
Expand description

a message

Required Methods§

source

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

get the view out of the message

source

fn purpose(&self) -> MessagePurpose

get the purpose of the message

Implementors§

source§

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