Do the actual check.
(size: usize)
| 31 | const LIMIT: usize; |
| 32 | /// Do the actual check. |
| 33 | fn check(size: usize) -> Result<(), QueryLimitError> { |
| 34 | if size > Self::LIMIT { |
| 35 | Err(QueryLimitError { |
| 36 | which: Self::PARAM_NAME, |
| 37 | size, |
| 38 | limit: Self::LIMIT, |
| 39 | })?; |
| 40 | } |
| 41 | Ok(()) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | /// Maximum payload size (in bytes) for paginated responses returned by the store. |
nothing calls this directly
no outgoing calls
no test coverage detected