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

Method decode

crates/rpc/src/server/api/sync_notes.rs:17–19  ·  view source on GitHub ↗
(request: proto::rpc::SyncNotesRequest)

Source from the content-addressed store, hash-verified

15 type Output = proto::rpc::SyncNotesResponse;
16
17 fn decode(request: proto::rpc::SyncNotesRequest) -> tonic::Result<Self::Input> {
18 Ok(request)
19 }
20
21 fn encode(output: Self::Output) -> tonic::Result<proto::rpc::SyncNotesResponse> {
22 Ok(output)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected