Struct hyparview::message::ForwardJoinMessage [−][src]
pub struct ForwardJoinMessage<T> { pub sender: T, pub new_node: T, pub ttl: TimeToLive, }
FORWARD_JOIN
message.
This is used for disseminating a JOIN
request to the members of the cluster to
which the contact node belongs.
Fields
sender: T
The node ID of the message sender.
new_node: T
The ID of the new joining node.
ttl: TimeToLive
TTL of the message.
Trait Implementations
impl<T: Debug> Debug for ForwardJoinMessage<T>
[src]
impl<T: Debug> Debug for ForwardJoinMessage<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for ForwardJoinMessage<T>
[src]
impl<T: Clone> Clone for ForwardJoinMessage<T>
fn clone(&self) -> ForwardJoinMessage<T>
[src]
fn clone(&self) -> ForwardJoinMessage<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq for ForwardJoinMessage<T>
[src]
impl<T: PartialEq> PartialEq for ForwardJoinMessage<T>
fn eq(&self, other: &ForwardJoinMessage<T>) -> bool
[src]
fn eq(&self, other: &ForwardJoinMessage<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ForwardJoinMessage<T>) -> bool
[src]
fn ne(&self, other: &ForwardJoinMessage<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for ForwardJoinMessage<T>
[src]
impl<T: Eq> Eq for ForwardJoinMessage<T>
Auto Trait Implementations
impl<T> Send for ForwardJoinMessage<T> where
T: Send,
impl<T> Send for ForwardJoinMessage<T> where
T: Send,
impl<T> Sync for ForwardJoinMessage<T> where
T: Sync,
impl<T> Sync for ForwardJoinMessage<T> where
T: Sync,