Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ as_result
Method
as_result
plugins/lsps-plugin/src/proto/jsonrpc.rs:135–137 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
133
}
134
135
pub fn as_result(&self) -> std::result::Result<&R, &RpcError> {
136
self.body.as_result()
137
}
138
139
pub fn is_ok(&self) -> bool {
140
self.body.is_ok()
Callers
3
on_lsps_lsps2_getinfo
Function · 0.80
on_lsps_lsps2_buy
Function · 0.80
on_lsps_listprotocols
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected