MCPcopy Create free account
hub / github.com/0xMiden/node / decode

Method decode

crates/rpc/src/server/api/status.rs:14–16  ·  view source on GitHub ↗
(request: ())

Source from the content-addressed store, hash-verified

12 type Output = proto::rpc::RpcStatus;
13
14 fn decode(request: ()) -> tonic::Result<Self::Input> {
15 Ok(request)
16 }
17
18 fn encode(output: Self::Output) -> tonic::Result<proto::rpc::RpcStatus> {
19 Ok(output)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected