Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ unwrap
Method
unwrap
plugins/lsps-plugin/src/proto/jsonrpc.rs:157–159 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
155
}
156
157
pub fn unwrap(self) -> R {
158
self.body.unwrap()
159
}
160
161
pub fn expect(self, msg: &str) -> R {
162
self.body.expect(msg)
Callers
15
gather_sources
Function · 0.45
is_drift_ok
Method · 0.45
refresh_currency
Method · 0.45
background_refresh
Method · 0.45
test_sources
Function · 0.45
register_path
Function · 0.45
process_help_response
Function · 0.45
call_rpc_method
Function · 0.45
request_body_to_rpc_params
Function · 0.45
create_cors_layer
Function · 0.45
verify_rune
Function · 0.45
path_to_rest_map_and_params
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_sources
Function · 0.36
test_init_message_parsing
Function · 0.36
test_hook_error_returns_safe_fallback
Function · 0.36
test_hook_panic_returns_safe_fallback
Function · 0.36
test_typed_hook_schema_mismatch_fallback
Function · 0.36
test_crash_only_hook_returns_error
Function · 0.36
test_rpc_method_named_recover_returns_error_not_fallback
Function · 0.36
test_ml_encoder
Function · 0.36
test_json_codec
Function · 0.36
test_option_serialize
Function · 0.36
test_serde_promise_ok
Function · 0.36
test_request_serialization_and_deserialization
Function · 0.36