MCPcopy Create free account
hub / github.com/apache/avro-rs / from

Method from

avro/src/codec.rs:76–78  ·  view source on GitHub ↗
(value: Codec)

Source from the content-addressed store, hash-verified

74}
75
76impl From<Codec> for Value {
77 fn from(value: Codec) -> Self {
78 Self::Bytes(<&str>::from(value).as_bytes().to_vec())
79 }
80}
81

Callers

nothing calls this directly

Calls 3

BytesClass · 0.85
to_vecMethod · 0.80
as_bytesMethod · 0.80

Tested by

no test coverage detected