pub enum Rootwards {
MutatorAnnouncement {
connection_id: ChildConnectionId,
participant_id: ParticipantId,
mutator_id: MutatorId,
mutator_attrs: BTreeMap<AttrKey, AttrVal>,
},
MutatorRetirement {
connection_id: ChildConnectionId,
participant_id: ParticipantId,
mutator_id: MutatorId,
},
UpdateTriggerState {
connection_id: ChildConnectionId,
mutator_id: MutatorId,
mutation_id: MutationId,
maybe_trigger_crdt: Option<TriggerCRDT>,
},
}Expand description
Messages from an already-authenticated child connection.
Variants§
MutatorAnnouncement
Fields
§
connection_id: ChildConnectionId§
participant_id: ParticipantIdId of the participant in charge of managing the mutator
MutatorRetirement
Fields
§
connection_id: ChildConnectionId§
participant_id: ParticipantIdId of the participant in charge of managing the mutator
UpdateTriggerState
Fields
§
connection_id: ChildConnectionId§
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§
Source§impl Rootwards
impl Rootwards
pub fn connection_id(&self) -> ChildConnectionId
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rootwards
impl RefUnwindSafe for Rootwards
impl Send for Rootwards
impl Sync for Rootwards
impl Unpin for Rootwards
impl UnwindSafe for Rootwards
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