MCPcopy Create free account
hub / github.com/ElementsProject/lightning / into_result

Method into_result

plugins/lsps-plugin/src/proto/jsonrpc.rs:131–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 }
130
131 pub fn into_result(self) -> std::result::Result<R, RpcError> {
132 self.body.into_result()
133 }
134
135 pub fn as_result(&self) -> std::result::Result<&R, &RpcError> {
136 self.body.as_result()

Callers 3

test_empty_resultFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_empty_resultFunction · 0.64