pub struct NativeEncodingError { /* private fields */ }Expand description
An error returned when the native system encoding cannot be determined.
Trait Implementations§
Source§impl Clone for NativeEncodingError
impl Clone for NativeEncodingError
Source§fn clone(&self) -> NativeEncodingError
fn clone(&self) -> NativeEncodingError
Returns a duplicate 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 NativeEncodingError
impl Debug for NativeEncodingError
Source§impl Display for NativeEncodingError
impl Display for NativeEncodingError
Source§impl Error for NativeEncodingError
impl Error for NativeEncodingError
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 PartialEq for NativeEncodingError
impl PartialEq for NativeEncodingError
impl Eq for NativeEncodingError
impl StructuralPartialEq for NativeEncodingError
Auto Trait Implementations§
impl Freeze for NativeEncodingError
impl RefUnwindSafe for NativeEncodingError
impl Send for NativeEncodingError
impl Sync for NativeEncodingError
impl Unpin for NativeEncodingError
impl UnsafeUnpin for NativeEncodingError
impl UnwindSafe for NativeEncodingError
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