Struct hyparview::message::JoinMessage [−][src]
pub struct JoinMessage<T> { pub sender: T, }
JOIN
message.
This is sent by new nodes for joining a HyParView cluster. The receiver is the contact node of the cluster.
Fields
sender: T
The node ID of the message sender.
It is also a new node that wishes to join the cluster.
Trait Implementations
impl<T: Debug> Debug for JoinMessage<T>
[src]
impl<T: Debug> Debug for JoinMessage<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 JoinMessage<T>
[src]
impl<T: Clone> Clone for JoinMessage<T>
fn clone(&self) -> JoinMessage<T>
[src]
fn clone(&self) -> JoinMessage<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 JoinMessage<T>
[src]
impl<T: PartialEq> PartialEq for JoinMessage<T>
fn eq(&self, other: &JoinMessage<T>) -> bool
[src]
fn eq(&self, other: &JoinMessage<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &JoinMessage<T>) -> bool
[src]
fn ne(&self, other: &JoinMessage<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for JoinMessage<T>
[src]
impl<T: Eq> Eq for JoinMessage<T>
Auto Trait Implementations
impl<T> Send for JoinMessage<T> where
T: Send,
impl<T> Send for JoinMessage<T> where
T: Send,
impl<T> Sync for JoinMessage<T> where
T: Sync,
impl<T> Sync for JoinMessage<T> where
T: Sync,