pub fn add_event(
        &mut self,
        context_id: &ContextId,
        event: Event,
    ) -> Result<(), ContextManagerError> {
        let context = self.get_context_mut(&context_id)?;
        context.add_event(event);
        Ok(())
    }
/// Adds an Event to the specified Context.
Adds an Event to the specified Context.
Adds an Event to the specified Context .
pub fn add_event(
        &mut self,
        context_id: &ContextId,
        event: Event,
    ) -> Result<(), ContextManagerError> {
        let context = self.get_context_mut(&context_id)?;
        context.add_event(event);
        Ok(())
    }
pub fn add_event ( & mut self , context_id : & ContextId , event : Event , ) -> Result < ( ) , ContextManagerError > { let context = self . get_context_mut ( & context_id ) ? ; context . add_event ( event ) ; Ok ( ( ) ) }
Adds an Event to the specified Context.
Adds an Event to the specified Context .
&mut self
context_id
&ContextId
event
Event
&mut self
context_id
&ContextId
event
Event