vector_core::serde::ascii_char

Function deserialize

source
pub fn deserialize<'de, D>(deserializer: D) -> Result<u8, D::Error>
where D: Deserializer<'de>,
Expand description

Deserialize an ASCII character as u8.

ยงErrors

If the item fails to be deserialized as a character, of the character to be deserialized is not part of the ASCII range, an error is returned.