pub struct HandoffEdgeBuilder { /* private fields */ }Expand description
Intermediate builder returned by HandoffBuilder::add_handoff to express
add_handoff(source).to([targets]) fluently.
Implementations§
Source§impl HandoffEdgeBuilder
impl HandoffEdgeBuilder
Sourcepub fn to<I, S>(self, targets: I) -> HandoffBuilder
pub fn to<I, S>(self, targets: I) -> HandoffBuilder
Complete the edge: source may hand off to each of targets.
Declaring any edge switches the whole workflow from full-mesh (every
participant reachable from every other, the default when no edges are
declared at all) into restricted mesh mode: from then on, a source
with declared edges may hand off only to its declared targets, and a
source with no declared edges is a leaf that cannot hand off at all.
See HandoffBuilder::build and is_permitted_target for the exact
rule.
Auto Trait Implementations§
impl !RefUnwindSafe for HandoffEdgeBuilder
impl !UnwindSafe for HandoffEdgeBuilder
impl Freeze for HandoffEdgeBuilder
impl Send for HandoffEdgeBuilder
impl Sync for HandoffEdgeBuilder
impl Unpin for HandoffEdgeBuilder
impl UnsafeUnpin for HandoffEdgeBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more