Trait nuts_bytes::TakeCharError
source · 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§
sourcefn invalid_char(n: u32) -> Self
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.