pub struct Utf16Error { /* private fields */ }
Expand description
Errors which can occur when attempting to interpret a sequence of u16
as UTF-16.
Implementations§
Trait Implementations§
Source§impl Clone for Utf16Error
impl Clone for Utf16Error
Source§fn clone(&self) -> Utf16Error
fn clone(&self) -> Utf16Error
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Utf16Error
impl Debug for Utf16Error
Source§impl Display for Utf16Error
impl Display for Utf16Error
Source§impl Error for Utf16Error
impl Error for Utf16Error
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()
Auto Trait Implementations§
impl Freeze for Utf16Error
impl RefUnwindSafe for Utf16Error
impl Send for Utf16Error
impl Sync for Utf16Error
impl Unpin for Utf16Error
impl UnwindSafe for Utf16Error
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