pub fn percent_encoded_len<E: Copy>(value: &str, error: E) -> Result<usize, E>
Returns the checked percent-encoded length of one component.