Skip to main content

character

Function character 

Source
pub fn character<V: Source>(value: &V, path: &str) -> Result<char, ProbeError>
Expand description

Exactly one character.

A char field is one character, and a longer string is refused rather than cut down to its first: two backends took .next() and put 'a' on the wire for "ab", which is a sample nobody wrote.

ยงErrors

ProbeError::Mismatch.