not_a_file_digest

Function not_a_file_digest 

Source
pub(crate) fn not_a_file_digest(value: &str) -> ApiError
Expand description

The one rejection for a path segment that is not a file digest, shared by every route that takes one so the rule is spelled once. The value itself is not echoed: it is caller-controlled text, and its length plus the rule is all a caller needs.