pub struct Utf8Error { /* private fields */ }
Expand description
Error returned when an invalid UTF-8 sequence is encountered.
See Utf8ErrorKind
for the types of errors
that this type can be returned for.
Implementations§
Trait Implementations§
Source§impl Error for Utf8Error
impl Error for Utf8Error
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl PartialEq<Utf8Error> for Utf8ErrorKind
impl PartialEq<Utf8Error> for Utf8ErrorKind
Source§impl PartialEq<Utf8ErrorKind> for Utf8Error
impl PartialEq<Utf8ErrorKind> for Utf8Error
impl Copy for Utf8Error
impl Eq for Utf8Error
impl StructuralPartialEq for Utf8Error
Auto Trait Implementations§
impl Freeze for Utf8Error
impl RefUnwindSafe for Utf8Error
impl Send for Utf8Error
impl Sync for Utf8Error
impl Unpin for Utf8Error
impl UnwindSafe for Utf8Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more