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: ParticipantId
Id of the child (or further descendant) requesting authorization
MutatorAnnouncement
Fields
§
participant_id: ParticipantId
Id of the participant in charge of managing the mutator
MutatorRetirement
Fields
§
participant_id: ParticipantId
Id 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
impl StructuralPartialEq for RootwardsMessage
Auto Trait Implementations§
impl Freeze for RootwardsMessage
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