Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ resp_not_leader
Function
resp_not_leader
nodedb/src/control/gateway/error_map.rs:279–282 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
277
278
#[test]
279
fn resp_not_leader() {
280
let msg = GatewayErrorMap::to_resp(¬_leader());
281
assert!(msg.starts_with(
"MOVED"
));
282
}
283
284
#[test]
285
fn resp_deadline() {
Callers
nothing calls this directly
Calls
1
not_leader
Function · 0.85
Tested by
no test coverage detected