[−][src]Struct xaynet::message::Update
A high level representation of an update message.
These messages are sent by update participants during the update phase.
Fields
sum_signature: ParticipantTaskSignature
The signature of the round seed and the word "sum".
This is used to determine whether a participant is selected for the sum task.
update_signature: ParticipantTaskSignature
Signature of the round seed and the word "update".
This is used to determine whether a participant is selected for the update task.
masked_model: M
A model trained by an update participant.
The model is masked with randomness derived from the participant seed.
local_seed_dict: D
A dictionary that contains the seed used to mask masked_model
.
The seed is encrypted with the ephemeral public key of each sum participant.
Trait Implementations
impl<D: Clone, M: Clone> Clone for Update<D, M>
[src]
impl<D: Debug, M: Debug> Debug for Update<D, M>
[src]
impl<D: Eq, M: Eq> Eq for Update<D, M>
[src]
impl<D, M, N> From<Update<D, M>> for Payload<D, M, N>
[src]
impl<D: PartialEq, M: PartialEq> PartialEq<Update<D, M>> for Update<D, M>
[src]
impl<D, M> StructuralEq for Update<D, M>
[src]
impl<D, M> StructuralPartialEq for Update<D, M>
[src]
impl<D, M> ToBytes for Update<D, M> where
D: Borrow<LocalSeedDict>,
M: Borrow<MaskObject>,
[src]
D: Borrow<LocalSeedDict>,
M: Borrow<MaskObject>,
Auto Trait Implementations
impl<D, M> RefUnwindSafe for Update<D, M> where
D: RefUnwindSafe,
M: RefUnwindSafe,
D: RefUnwindSafe,
M: RefUnwindSafe,
impl<D, M> Send for Update<D, M> where
D: Send,
M: Send,
D: Send,
M: Send,
impl<D, M> Sync for Update<D, M> where
D: Sync,
M: Sync,
D: Sync,
M: Sync,
impl<D, M> Unpin for Update<D, M> where
D: Unpin,
M: Unpin,
D: Unpin,
M: Unpin,
impl<D, M> UnwindSafe for Update<D, M> where
D: UnwindSafe,
M: UnwindSafe,
D: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,