Struct mpstthree::role::c_to_all::RoleCtoAll [−][src]
pub struct RoleCtoAll<R1, R2> where
R1: Role,
R2: Role,
R1::Dual: Role,
R2::Dual: Role, { /* fields omitted */ }
Expand description
Gives the order to the
MeshedChannels
related to C
to execute its Session
fields
with every other processes.
This struct
is used for branching without enum
. See
the test 05_usecase.rs
.
Example
use mpstthree::role::c_to_all::RoleCtoAll;
use mpstthree::role::end::RoleEnd;
use mpstthree::role::Role; // Only used for example
type NameCtoAllDual = RoleCtoAll<RoleEnd, RoleEnd>;
let _ = NameCtoAllDual::new(); // Only used for example
html
Implementations
Return the right continuation for RoleCtoAll
Return the left continuation for RoleCtoAll
Trait Implementations
type Dual = RoleAlltoC<R1::Dual, R2::Dual>
type Dual = RoleAlltoC<R1::Dual, R2::Dual>
The Role type dual to Self
.
Auto Trait Implementations
impl<R1, R2> RefUnwindSafe for RoleCtoAll<R1, R2>
impl<R1, R2> Send for RoleCtoAll<R1, R2>
impl<R1, R2> Sync for RoleCtoAll<R1, R2>
impl<R1, R2> Unpin for RoleCtoAll<R1, R2>
impl<R1, R2> UnwindSafe for RoleCtoAll<R1, R2>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more