pub enum DataTypeError {
UnknownCode(String),
Utf8Err(FromUtf8Error),
Utf16Err(FromUtf16Error),
}Variants§
Trait Implementations§
Source§impl Debug for DataTypeError
impl Debug for DataTypeError
Source§impl Display for DataTypeError
impl Display for DataTypeError
Source§impl Error for DataTypeError
impl Error for DataTypeError
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 From<DataTypeError> for Error
impl From<DataTypeError> for Error
Source§fn from(source: DataTypeError) -> Self
fn from(source: DataTypeError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf16Error> for DataTypeError
impl From<FromUtf16Error> for DataTypeError
Source§fn from(source: FromUtf16Error) -> Self
fn from(source: FromUtf16Error) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for DataTypeError
impl From<FromUtf8Error> for DataTypeError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DataTypeError
impl RefUnwindSafe for DataTypeError
impl Send for DataTypeError
impl Sync for DataTypeError
impl Unpin for DataTypeError
impl UnwindSafe for DataTypeError
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