MCPcopy Create free account
hub / github.com/Botloader/botloader / event_source_label

Function event_source_label

components/scheduler/src/dispatch_metrics.rs:45–50  ·  view source on GitHub ↗
(source: EventSource)

Source from the content-addressed store, hash-verified

43}
44
45pub(crate) fn event_source_label(source: EventSource) -> &'static str {
46 match source {
47 EventSource::Discord => "discord",
48 EventSource::Timer => "timer",
49 }
50}

Callers 1

dispatch_worker_evtMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected