MCPcopy Create free account
hub / github.com/arcjet/gravity / result_primitive

Method result_primitive

examples/basic/src/lib.rs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 Some(true)
22 }
23 fn result_primitive() -> Result<bool, String> {
24 Ok(true)
25 }
26 fn optional_string(s: Option<String>) -> Option<String> {
27 s
28 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected