MCPcopy Create free account
hub / github.com/hashintel/hash / encode

Method encode

libs/@local/harpc/codec/src/lib.rs:53–59  ·  view source on GitHub ↗
(self, input: S)

Source from the content-addressed store, hash-verified

51 Input: Stream + Send;
52
53 fn encode<T, S>(self, input: S) -> Self::Output<S>
54 where
55 S: Stream<Item = T> + Send,
56 T: serde::Serialize,
57 {
58 self.encoder.encode(input)
59 }
60}
61
62impl<E, D> Decoder for SplitCodec<E, D>

Callers 15

ResponseKind.tsFile · 0.45
Protocol.tsFile · 0.45
RequestHeader.tsFile · 0.45
RequestFrame.tsFile · 0.45
Request.tsFile · 0.45
RequestBegin.tsFile · 0.45
RequestBody.tsFile · 0.45
ResponseBegin.tsFile · 0.45
ResponseBody.tsFile · 0.45
ResponseFrame.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected