Struct encode_unicode::error::NonBmpError
source · [−]pub struct NonBmpError;
Expand description
Error returned by Utf16Char::from_bmp()
for units that are not a standalone codepoint.
Trait Implementations
sourceimpl Clone for NonBmpError
impl Clone for NonBmpError
sourcefn clone(&self) -> NonBmpError
fn clone(&self) -> NonBmpError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NonBmpError
impl Debug for NonBmpError
sourceimpl Display for NonBmpError
impl Display for NonBmpError
sourceimpl Error for NonBmpError
impl Error for NonBmpError
sourcefn description(&self) -> &'static str
fn description(&self) -> &'static str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl PartialEq<NonBmpError> for NonBmpError
impl PartialEq<NonBmpError> for NonBmpError
impl Copy for NonBmpError
impl Eq for NonBmpError
impl StructuralEq for NonBmpError
impl StructuralPartialEq for NonBmpError
Auto Trait Implementations
impl RefUnwindSafe for NonBmpError
impl Send for NonBmpError
impl Sync for NonBmpError
impl Unpin for NonBmpError
impl UnwindSafe for NonBmpError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more