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