MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / new

Method new

crates/cargo-lambda-metadata/src/lambda.rs:19–21  ·  view source on GitHub ↗
(i: u32)

Source from the content-addressed store, hash-verified

17
18impl Timeout {
19 pub fn new(i: u32) -> Timeout {
20 Timeout(i)
21 }
22
23 pub fn is_zero(&self) -> bool {
24 self.0 == 0

Callers

nothing calls this directly

Calls 1

TimeoutClass · 0.85

Tested by

no test coverage detected