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

Method encode

crates/rpc/src/server/api/get_network_note_status.rs:25–27  ·  view source on GitHub ↗
(output: Self::Output)

Source from the content-addressed store, hash-verified

23 }
24
25 fn encode(output: Self::Output) -> tonic::Result<proto::rpc::GetNetworkNoteStatusResponse> {
26 Ok(output)
27 }
28
29 async fn full(&self, request: Request<proto::note::NoteId>) -> tonic::Result<Self::Output> {
30 let original_accept_header = request.metadata().get(http::header::ACCEPT.as_str()).cloned();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected