pub enum AggregationAlgorithm {
FederatedAveraging,
MultiKrum {
byzantine_tolerance: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for AggregationAlgorithm
impl Clone for AggregationAlgorithm
Source§fn clone(&self) -> AggregationAlgorithm
fn clone(&self) -> AggregationAlgorithm
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 moreSource§impl Debug for AggregationAlgorithm
impl Debug for AggregationAlgorithm
impl Eq for AggregationAlgorithm
Source§impl PartialEq for AggregationAlgorithm
impl PartialEq for AggregationAlgorithm
Source§fn eq(&self, other: &AggregationAlgorithm) -> bool
fn eq(&self, other: &AggregationAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AggregationAlgorithm
Auto Trait Implementations§
impl Freeze for AggregationAlgorithm
impl RefUnwindSafe for AggregationAlgorithm
impl Send for AggregationAlgorithm
impl Sync for AggregationAlgorithm
impl Unpin for AggregationAlgorithm
impl UnsafeUnpin for AggregationAlgorithm
impl UnwindSafe for AggregationAlgorithm
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