MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / Lunch

Enum Lunch

example/cafeteria/src/main.rs:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4#[derive(Debug)]
5enum Lunch {
6 Soup,
7 Salad,
8 Sandwich,
9 HotDog,
10}
11
12fn cafeteria_worker(name: &str, orders: Receiver<&str>, lunches: Sender<Lunch>) {
13 for order in orders {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected