pub trait CollaborationHub {
    // Required methods
    fn collaborators<'a>(
        &self,
        cx: &'a AppContext
    ) -> &'a HashMap<PeerId, Collaborator>;
    fn user_participant_indices<'a>(
        &self,
        cx: &'a AppContext
    ) -> &'a HashMap<u64, ParticipantIndex>;
}

Required Methods§

source

fn collaborators<'a>( &self, cx: &'a AppContext ) -> &'a HashMap<PeerId, Collaborator>

source

fn user_participant_indices<'a>( &self, cx: &'a AppContext ) -> &'a HashMap<u64, ParticipantIndex>

Implementations on Foreign Types§

source§

impl CollaborationHub for Model<Project>

source§

fn collaborators<'a>( &self, cx: &'a AppContext ) -> &'a HashMap<PeerId, Collaborator>

source§

fn user_participant_indices<'a>( &self, cx: &'a AppContext ) -> &'a HashMap<u64, ParticipantIndex>

Implementors§