[−][src]Struct xaynet_core::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: MaskObject
A model trained by an update participant.
The model is masked with randomness derived from the participant seed.
masked_scalar: MaskObject
The scalar used to scale model weights.
The scalar is masked with randomness derived from the participant seed.
local_seed_dict: LocalSeedDict
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 Clone for Update
[src]
impl Debug for Update
[src]
impl Eq for Update
[src]
impl From<Update> for Payload
[src]
impl FromBytes for Update
[src]
fn from_bytes<T: AsRef<[u8]>>(buffer: &T) -> Result<Self, DecodeError>
[src]
impl PartialEq<Update> for Update
[src]
impl StructuralEq for Update
[src]
impl StructuralPartialEq for Update
[src]
impl ToBytes for Update
[src]
Auto Trait Implementations
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,