MCPcopy Create free account
hub / github.com/NicolasLagaillardie/mpst_rust_github / recurs_0_controller

Function recurs_0_controller

examples/basic/logging.rs:112–127  ·  view source on GitHub ↗
(s: EndpointController0<i32>, loops: i32)

Source from the content-addressed store, hash-verified

110}
111
112fn recurs_0_controller(s: EndpointController0<i32>, loops: i32) -> Result<(), Box<dyn Error>> {
113 offer_mpst!(s, recv_controller_from_logs, {
114 Branching0fromLtoC::Success(s) => {
115
116 let (_, s) = recv_controller_from_logs(s)?;
117
118 recurs_0_controller(s, loops)
119 },
120 Branching0fromLtoC::Failure(s) => {
121
122 let (_, s) = recv_controller_from_logs(s)?;
123
124 recurs_1_controller(s, loops)
125 },
126 })
127}
128
129fn recurs_1_controller(s: EndpointController1<i32>, loops: i32) -> Result<(), Box<dyn Error>> {
130 match loops {

Callers 2

endpoint_controllerFunction · 0.70
recurs_1_controllerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected