MCPcopy Create free account
hub / github.com/apache/dubbo-rust / new

Method new

remoting/base/src/codec.rs:31–33  ·  view source on GitHub ↗
(codec: Arc<dyn Codec>)

Source from the content-addressed store, hash-verified

29
30impl BoxedCodec {
31 pub fn new(codec: Arc<dyn Codec>) -> Self {
32 BoxedCodec(codec)
33 }
34}
35
36pub trait Codec: Sync + Send {

Callers

nothing calls this directly

Calls 1

BoxedCodecClass · 0.85

Tested by

no test coverage detected