pub(crate) struct Utf8Error {
bytes: [u8; 3],
len: u8,
}Expand description
Represents an invalid UTF-8 sequence.
This is an error returned by decode. It is guaranteed to
contain 1, 2 or 3 bytes.
Fields§
§bytes: [u8; 3]§len: u8Implementations§
Trait Implementations§
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