pub struct FromUtf8Error<const N: usize> { /* private fields */ }Expand description
A malformed UTF-8 sequence was detected.
Implementations§
Source§impl<const N: usize> FromUtf8Error<N>
impl<const N: usize> FromUtf8Error<N>
Trait Implementations§
Source§impl<const N: usize> Debug for FromUtf8Error<N>
impl<const N: usize> Debug for FromUtf8Error<N>
Source§impl<const N: usize> Display for FromUtf8Error<N>
impl<const N: usize> Display for FromUtf8Error<N>
Source§impl<const N: usize> Error for FromUtf8Error<N>
impl<const N: usize> Error for FromUtf8Error<N>
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<const N: usize> PartialEq for FromUtf8Error<N>
impl<const N: usize> PartialEq for FromUtf8Error<N>
impl<const N: usize> Eq for FromUtf8Error<N>
impl<const N: usize> StructuralPartialEq for FromUtf8Error<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for FromUtf8Error<N>
impl<const N: usize> RefUnwindSafe for FromUtf8Error<N>
impl<const N: usize> Send for FromUtf8Error<N>
impl<const N: usize> Sync for FromUtf8Error<N>
impl<const N: usize> Unpin for FromUtf8Error<N>
impl<const N: usize> UnsafeUnpin for FromUtf8Error<N>
impl<const N: usize> UnwindSafe for FromUtf8Error<N>
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