pub enum Ucs2EncodeError {
UnencodableCharacter,
}Available on crate feature
encoding only.Expand description
Errors that can occur during UCS2 encoding.
Variants§
UnencodableCharacter
Input contains un-encodable character.
Trait Implementations§
Source§impl Debug for Ucs2EncodeError
impl Debug for Ucs2EncodeError
Source§impl Display for Ucs2EncodeError
impl Display for Ucs2EncodeError
Source§impl Error for Ucs2EncodeError
impl Error for Ucs2EncodeError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Ucs2EncodeError> for Ucs2ConcatenateError
impl From<Ucs2EncodeError> for Ucs2ConcatenateError
Source§fn from(source: Ucs2EncodeError) -> Self
fn from(source: Ucs2EncodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Ucs2EncodeError
impl PartialEq for Ucs2EncodeError
impl Eq for Ucs2EncodeError
impl StructuralPartialEq for Ucs2EncodeError
Auto Trait Implementations§
impl Freeze for Ucs2EncodeError
impl RefUnwindSafe for Ucs2EncodeError
impl Send for Ucs2EncodeError
impl Sync for Ucs2EncodeError
impl Unpin for Ucs2EncodeError
impl UnwindSafe for Ucs2EncodeError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more