Struct mpstthree::role::a_to_all::RoleAtoAll [−][src]
pub struct RoleAtoAll<R1, R2> where
R1: Role,
R2: Role,
R1::Dual: Role,
R2::Dual: Role, { pub sender1: Sender<R1::Dual>, pub sender2: Sender<R2::Dual>, }
Expand description
Gives the order to the
mpstthree::meshedchannels::MeshedChannels
related to A
to execute its mpstthree::binary::struct_trait::Session
fields
with every other processes.
This struct
is used for branching without enum
. See
the test 05_usecase.rs
.
Fields
sender1: Sender<R1::Dual>
sender2: Sender<R2::Dual>
Trait Implementations
type Dual = RoleAlltoA<R1::Dual, R2::Dual>
type Dual = RoleAlltoA<R1::Dual, R2::Dual>
The Role type dual to Self
.
Auto Trait Implementations
impl<R1, R2> RefUnwindSafe for RoleAtoAll<R1, R2>
impl<R1, R2> Send for RoleAtoAll<R1, R2>
impl<R1, R2> Sync for RoleAtoAll<R1, R2>
impl<R1, R2> Unpin for RoleAtoAll<R1, R2>
impl<R1, R2> UnwindSafe for RoleAtoAll<R1, R2>