pub enum Latin1EncodeError {
UnencodableCharacter,
}Available on crate feature
encoding only.Expand description
Errors that can occur during Latin1 encoding.
Variants§
UnencodableCharacter
Input contains un-encodable character.
Trait Implementations§
Source§impl Debug for Latin1EncodeError
impl Debug for Latin1EncodeError
Source§impl Display for Latin1EncodeError
impl Display for Latin1EncodeError
Source§impl Error for Latin1EncodeError
impl Error for Latin1EncodeError
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<Latin1EncodeError> for Latin1ConcatenateError
impl From<Latin1EncodeError> for Latin1ConcatenateError
Source§fn from(source: Latin1EncodeError) -> Self
fn from(source: Latin1EncodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Latin1EncodeError
impl PartialEq for Latin1EncodeError
impl Eq for Latin1EncodeError
impl StructuralPartialEq for Latin1EncodeError
Auto Trait Implementations§
impl Freeze for Latin1EncodeError
impl RefUnwindSafe for Latin1EncodeError
impl Send for Latin1EncodeError
impl Sync for Latin1EncodeError
impl Unpin for Latin1EncodeError
impl UnwindSafe for Latin1EncodeError
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