MCPcopy Index your code
hub / github.com/RustPython/RustPython / max_length

Method max_length

crates/stdlib/src/compression.rs:33–37  ·  view source on GitHub ↗

negative is None

(&self)

Source from the content-addressed store, hash-verified

31
32 // negative is None
33 pub fn max_length(&self) -> Option<usize> {
34 self.max_length
35 .into_option()
36 .and_then(|ArgSize { value }| usize::try_from(value).ok())
37 }
38}
39
40pub trait Decompressor {

Callers 3

decompressMethod · 0.80
decompressMethod · 0.80
decompressMethod · 0.80

Calls 2

into_optionMethod · 0.80
okMethod · 0.80

Tested by

no test coverage detected