Enum pregel_rs::pregel::MessageReceiver
source · pub enum MessageReceiver {
Src,
Dst,
}
Expand description
This code is defining an enumeration type MessageReceiver
in Rust with
two variants: Src
and Dst
. This can be used to represent the source and
destination of a message in a Pregel program.
Variants§
Src
The Src
variant indicates that a message should go to the source of
an edge.
Dst
The Src
variant indicates that a message should go to the destination
of an edge.
Trait Implementations§
source§impl From<MessageReceiver> for ColumnIdentifier
impl From<MessageReceiver> for ColumnIdentifier
source§fn from(message_receiver: MessageReceiver) -> ColumnIdentifier
fn from(message_receiver: MessageReceiver) -> ColumnIdentifier
Converts to this type from the input type.