pub trait TakeCharError: TakeBytesError {
    // Required method
    fn invalid_char(n: u32) -> Self;
}
Expand description

Trait describes an error when converting into a char.

Required Methods§

source

fn invalid_char(n: u32) -> Self

Deserialized an invalid character.

There is no character which corresponds the given number.

Object Safety§

This trait is not object safe.

Implementors§