Struct simple_raft::message::SendableRaftMessage[][src]

pub struct SendableRaftMessage<NodeId> {
    pub message: RaftMessage,
    pub dest: RaftMessageDestination<NodeId>,
}
Expand description

A RaftMessage to be sent to a destination.

Fields

message: RaftMessage

The message to be sent.

dest: RaftMessageDestination<NodeId>

The destination for the message.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.