MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / from_reader

Method from_reader

fendermint/rpc/src/client.rs:374–378  ·  view source on GitHub ↗
(reader: impl std::io::prelude::Read)

Source from the content-addressed store, hash-verified

372 }
373
374 fn from_reader(reader: impl std::io::prelude::Read) -> Result<Self, trpc::Error> {
375 let wrapper: trpc::response::Wrapper<Self> =
376 serde_json::from_reader(reader).map_err(trpc::Error::serde)?;
377 wrapper.into_result()
378 }
379 }
380}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected