Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ install
Method
install
nodedb/src/fail_point.rs:82–87 ·
view source on GitHub ↗
(name: &str, action: FailAction)
Source
from the content-addressed store, hash-verified
80
81
impl FailGuard {
82
pub fn install(name: &str, action: FailAction) -> Self {
83
set(name, action);
84
Self {
85
name: name.to_string(),
86
}
87
}
88
}
89
90
impl Drop for FailGuard {
Callers
nothing calls this directly
Calls
2
set
Function · 0.85
to_string
Method · 0.80
Tested by
no test coverage detected