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

Method try_from

cln-grpc/src/convert.rs:7473–7476  ·  view source on GitHub ↗
(c: pb::GetinfoRequest)

Source from the content-addressed store, hash-verified

7471impl TryFrom<pb::GetinfoRequest> for requests::GetinfoRequest {
7472 type Error = tonic::Status;
7473 fn try_from(c: pb::GetinfoRequest) -> Result<Self, Self::Error> {
7474 Ok(Self {
7475 })
7476 }
7477}
7478
7479#[allow(unused_variables)]

Callers

nothing calls this directly

Calls 5

from_sliceFunction · 0.85
invalid_argumentFunction · 0.85
missing_fieldFunction · 0.85
mapMethod · 0.80
encodeFunction · 0.50

Tested by

no test coverage detected