(mut self, max_concurrency: usize)
| 34 | |
| 35 | impl CallerGuardParams { |
| 36 | pub fn with_max_concurrency(mut self, max_concurrency: usize) -> Self { |
| 37 | self.max_concurrency = Some(max_concurrency); |
| 38 | self |
| 39 | } |
| 40 | |
| 41 | pub fn with_expires_at_ns(mut self, expires_at_ns: u64) -> Self { |
| 42 | self.expires_at_ns = Some(expires_at_ns); |