pub enum RootwardsMessage {
ChildAuthAttempt {
child_participant_id: ParticipantId,
version: u32,
token: Vec<u8>,
},
MutatorAnnouncement {
participant_id: ParticipantId,
mutator_id: MutatorId,
mutator_attrs: AttrKvs,
},
MutatorRetirement {
participant_id: ParticipantId,
mutator_id: MutatorId,
},
UpdateTriggerState {
mutator_id: MutatorId,
mutation_id: MutationId,
maybe_trigger_crdt: Option<TriggerCRDT>,
},
}Variants§
ChildAuthAttempt
Fields
§
child_participant_id: ParticipantIdId of the child (or further descendant) requesting authorization
MutatorAnnouncement
Fields
§
participant_id: ParticipantIdId of the participant in charge of managing the mutator
MutatorRetirement
Fields
§
participant_id: ParticipantIdId of the participant in charge of managing the mutator
UpdateTriggerState
Fields
§
mutation_id: MutationId§
maybe_trigger_crdt: Option<TriggerCRDT>Interpret “None” as “clear your trigger state for this mutation, you don’t need to track it (anymore)”
Implementations§
Trait Implementations§
source§impl Clone for RootwardsMessage
impl Clone for RootwardsMessage
source§fn clone(&self) -> RootwardsMessage
fn clone(&self) -> RootwardsMessage
Returns a copy of the value. Read more
1.0.0 · 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 RootwardsMessage
impl Debug for RootwardsMessage
source§impl<'bytes> Decode<'bytes> for RootwardsMessage
impl<'bytes> Decode<'bytes> for RootwardsMessage
source§impl Encode for RootwardsMessage
impl Encode for RootwardsMessage
source§impl PartialEq for RootwardsMessage
impl PartialEq for RootwardsMessage
source§fn eq(&self, other: &RootwardsMessage) -> bool
fn eq(&self, other: &RootwardsMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RootwardsMessage
Auto Trait Implementations§
impl RefUnwindSafe for RootwardsMessage
impl Send for RootwardsMessage
impl Sync for RootwardsMessage
impl Unpin for RootwardsMessage
impl UnwindSafe for RootwardsMessage
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