pub enum Out {
Place(PlaceRef),
And(Vec<Out>),
Xor(Vec<Out>),
Timeout {
after_ms: u64,
child: Box<Out>,
},
ForwardInput {
from: PlaceRef,
to: PlaceRef,
},
}Expand description
Output specification with explicit split semantics.
Supports composite structures (XOR of ANDs, AND of XORs, etc.)
Variants§
Place(PlaceRef)
Leaf node: single output place.
And(Vec<Out>)
AND-split: ALL children must receive tokens.
Xor(Vec<Out>)
XOR-split: EXACTLY ONE child receives token.
Timeout
Timeout branch that activates if action exceeds duration.
ForwardInput
Forward consumed input to output on timeout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Out
impl RefUnwindSafe for Out
impl Send for Out
impl Sync for Out
impl Unpin for Out
impl UnsafeUnpin for Out
impl UnwindSafe for Out
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