Struct widestring::error::Utf16Error
source · 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)>
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