pub struct Compression(_);
When compressing data, the compression level can be specified by a value in this enum.
Creates a new description of the compression level with an explicitly specified integer.
The integer here is typically on a scale of 0-9 where 0 means “no compression” and 9 means “take as long as you’d like”.
No compression is to be performed, this may actually inflate data slightly when encoding.
Optimize for the best speed of encoding.
Optimize for the size of data being encoded.
Returns an integer representing the compression level, typically on a scale of 0-9
Returns the argument unchanged.