#[non_exhaustive]pub struct Utf8ByteError;Expand description
A type for signaling UTF-8 errors.
Trait Implementations§
Source§impl Clone for Utf8ByteError
impl Clone for Utf8ByteError
impl Copy for Utf8ByteError
Source§impl Debug for Utf8ByteError
impl Debug for Utf8ByteError
Source§impl Display for Utf8ByteError
impl Display for Utf8ByteError
impl Eq for Utf8ByteError
Source§impl Error for Utf8ByteError
impl Error for Utf8ByteError
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
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 Hash for Utf8ByteError
impl Hash for Utf8ByteError
Source§impl PartialEq for Utf8ByteError
impl PartialEq for Utf8ByteError
impl StructuralPartialEq for Utf8ByteError
Auto Trait Implementations§
impl Freeze for Utf8ByteError
impl RefUnwindSafe for Utf8ByteError
impl Send for Utf8ByteError
impl Sync for Utf8ByteError
impl Unpin for Utf8ByteError
impl UnsafeUnpin for Utf8ByteError
impl UnwindSafe for Utf8ByteError
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