Function mpstthree::checking::checker[][src]

pub fn checker<S0, S1, S2, R1, R2, R3, N1, N2, N3, BH1: BuildHasher, BH2: BuildHasher>(
    s1: MeshedChannels<S0, <S2 as Session>::Dual, R1, N1>,
    s2: MeshedChannels<<S0 as Session>::Dual, S1, R2, N2>,
    s3: MeshedChannels<S2, <S1 as Session>::Dual, R3, N3>,
    branches_receivers: &HashMap<String, &Vec<String>, BH1>,
    branches_sender: &HashMap<String, &Vec<String>, BH2>
) -> Result<(String, String, String), Box<dyn Error>> where
    S0: Session + 'static,
    S1: Session + 'static,
    S2: Session + 'static,
    R1: Role + 'static,
    R2: Role + 'static,
    R3: Role + 'static,
    N1: Role + 'static,
    N2: Role + 'static,
    N3: Role + 'static, 
Expand description

Displays the local endpoints of each roles. It is required that the MeshedChannels are the root ones, and not a partial part included in a bigger one. It is useful for checking whether the implemented local endpoints are the expected ones.

Returns the 3 strings if everything went right. TODO: Adapt checker for RoleBroadcast Useful???