pub fn join_group(
        &self,
        managed_group_config: ManagedGroupConfig,
        welcome: Welcome,
        ratchet_tree: Option<Vec<Option<Node>>>,
    ) -> Result<(), ClientError> {
        let new_group: ManagedGroup = ManagedGroup::new_from_welcome(
            &self.crypto,
            &managed_group_config,
            welcome,
            ratchet_tree,
        )?;
        self.groups
            .borrow_mut()
            .insert(new_group.group_id().to_owned(), new_group);
        Ok(())
    }
/// Join a group based on the given `welcome` and `ratchet_tree`. The group
/// is created with the given `ManagedGroupConfig`. Throws an error if no
/// `KeyPackage` exists matching the `Welcome`, if the client doesn't
/// support the ciphersuite, or if an error occurs processing the `Welcome`.
Join a group based on the given `welcome` and `ratchet_tree`. The group
is created with the given `ManagedGroupConfig`.
Join a group based on the given ` welcome ` and ` ratchet_tree ` . The group is created with the given ` ManagedGroupConfig ` .
pub fn join_group(
        &self,
        managed_group_config: ManagedGroupConfig,
        welcome: Welcome,
        ratchet_tree: Option<Vec<Option<Node>>>,
    ) -> Result<(), ClientError> {
        let new_group: ManagedGroup = ManagedGroup::new_from_welcome(
            &self.crypto,
            &managed_group_config,
            welcome,
            ratchet_tree,
        )?;
        self.groups
            .borrow_mut()
            .insert(new_group.group_id().to_owned(), new_group);
        Ok(())
    }
pub fn join_group ( & self , managed_group_config : ManagedGroupConfig , welcome : Welcome , ratchet_tree : Option < Vec < Option < Node > > > , ) -> Result < ( ) , ClientError > { let new_group : ManagedGroup = ManagedGroup :: new_from_welcome ( & self . crypto , & managed_group_config , welcome , ratchet_tree , ) ? ; self . groups . borrow_mut ( ) . insert ( new_group . group_id ( ) . to_owned ( ) , new_group ) ; Ok ( ( ) ) }
Join a group based on the given `welcome` and `ratchet_tree`.
Join a group based on the given ` welcome ` and ` ratchet_tree ` .
&self
managed_group_config
ManagedGroupConfig
welcome
Welcome
ratchet_tree
Option<Vec<Option<Node>>>
&self
managed_group_config
ManagedGroupConfig
welcome
Welcome
ratchet_tree
Option<Vec<Option<Node>>>