pub enum CollectiveAlgorithm {
Direct,
Ring,
Pairwise,
Hierarchical,
}Variants§
Trait Implementations§
Source§impl Clone for CollectiveAlgorithm
impl Clone for CollectiveAlgorithm
Source§fn clone(&self) -> CollectiveAlgorithm
fn clone(&self) -> CollectiveAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CollectiveAlgorithm
Source§impl Debug for CollectiveAlgorithm
impl Debug for CollectiveAlgorithm
Source§impl<'de> Deserialize<'de> for CollectiveAlgorithm
impl<'de> Deserialize<'de> for CollectiveAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CollectiveAlgorithm
Source§impl PartialEq for CollectiveAlgorithm
impl PartialEq for CollectiveAlgorithm
Source§impl Serialize for CollectiveAlgorithm
impl Serialize for CollectiveAlgorithm
impl StructuralPartialEq for CollectiveAlgorithm
Auto Trait Implementations§
impl Freeze for CollectiveAlgorithm
impl RefUnwindSafe for CollectiveAlgorithm
impl Send for CollectiveAlgorithm
impl Sync for CollectiveAlgorithm
impl Unpin for CollectiveAlgorithm
impl UnsafeUnpin for CollectiveAlgorithm
impl UnwindSafe for CollectiveAlgorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.