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

Formats the value using the given formatter. Read more

The Role type dual to Self.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.