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

Method new

avro/src/codec.rs:29–31  ·  view source on GitHub ↗
(compression_level: miniz_oxide::deflate::CompressionLevel)

Source from the content-addressed store, hash-verified

27}
28
29impl DeflateSettings {
30 pub fn new(compression_level: miniz_oxide::deflate::CompressionLevel) -> Self {
31 DeflateSettings { compression_level }
32 }
33
34 /// Get the compression level as a `u8`, note that this means the [`miniz_oxide::deflate::CompressionLevel::DefaultCompression`] variant

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected