MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / parse_silent

Function parse_silent

nodedb/src/control/security/deny.rs:192–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190
191 #[test]
192 fn parse_silent() {
193 let mode = parse_on_deny(&["SILENT"]).unwrap();
194 assert_eq!(mode, DenyMode::Silent);
195 }
196
197 #[test]
198 fn parse_error_with_code_and_message() {

Callers

nothing calls this directly

Calls 1

parse_on_denyFunction · 0.85

Tested by

no test coverage detected