MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / handle_unknown_method

Function handle_unknown_method

ext/frc42_dispatch/src/match_method.rs:81–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80 #[test]
81 fn handle_unknown_method() {
82 let method_num = 12345u64; // not a method we know about
83 let ret = match_method!(method_num, {
84 "Constructor" => Some(1),
85 _ => None,
86 });
87
88 assert_eq!(ret, None);
89 }
90
91 #[test]
92 fn handle_user_method() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected