Struct widestring::error::DecodeUtf32Error [−][src]
pub struct DecodeUtf32Error { /* fields omitted */ }
Expand description
An error that can be returned when decoding UTF-32 code points.
This error occurs when a u32
value is outside the 21-bit Unicode code point range
(>U+10FFFF
) or is a UTF-16 surrogate value.
Implementations
Returns the invalid code point value which caused the error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecodeUtf32Error
impl Send for DecodeUtf32Error
impl Sync for DecodeUtf32Error
impl Unpin for DecodeUtf32Error
impl UnwindSafe for DecodeUtf32Error
Blanket Implementations
Mutably borrows from an owned value. Read more