Struct paxos_rust::message::AcceptData [−][src]
Accept data (Proposer -> Acceptor)
Fields
id: u64
value: Arc<T>
Trait Implementations
impl<T: Debug> Debug for AcceptData<T>
[src]
impl<T: Debug> Debug for AcceptData<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: PartialEq> PartialEq for AcceptData<T>
[src]
impl<T: PartialEq> PartialEq for AcceptData<T>
fn eq(&self, other: &AcceptData<T>) -> bool
[src]
fn eq(&self, other: &AcceptData<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AcceptData<T>) -> bool
[src]
fn ne(&self, other: &AcceptData<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for AcceptData<T>
[src]
impl<T: Eq> Eq for AcceptData<T>
impl<T: Hash> Hash for AcceptData<T>
[src]
impl<T: Hash> Hash for AcceptData<T>
fn hash<__HT: Hasher>(&self, state: &mut __HT)
[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Clone> Clone for AcceptData<T>
[src]
impl<T: Clone> Clone for AcceptData<T>
fn clone(&self) -> AcceptData<T>
[src]
fn clone(&self) -> AcceptData<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
Auto Trait Implementations
impl<T> Send for AcceptData<T> where
T: Send + Sync,
impl<T> Send for AcceptData<T> where
T: Send + Sync,
impl<T> Sync for AcceptData<T> where
T: Send + Sync,
impl<T> Sync for AcceptData<T> where
T: Send + Sync,