pub enum DataParseError {
UnknownFormat,
NotSupported(String),
}Variants§
UnknownFormat
Unknown format of the data required to parse
NotSupported(String)
format of the data is not supported
Trait Implementations§
Source§impl Clone for DataParseError
impl Clone for DataParseError
Source§fn clone(&self) -> DataParseError
fn clone(&self) -> DataParseError
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 DataParseError
impl Debug for DataParseError
Source§impl Display for DataParseError
impl Display for DataParseError
Source§impl Error for DataParseError
impl Error for DataParseError
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 From<DataParseError> for String
impl From<DataParseError> for String
Source§fn from(err: DataParseError) -> Self
fn from(err: DataParseError) -> Self
Converts to this type from the input type.
Source§impl Hash for DataParseError
impl Hash for DataParseError
Source§impl PartialEq for DataParseError
impl PartialEq for DataParseError
impl Eq for DataParseError
impl StructuralPartialEq for DataParseError
Auto Trait Implementations§
impl Freeze for DataParseError
impl RefUnwindSafe for DataParseError
impl Send for DataParseError
impl Sync for DataParseError
impl Unpin for DataParseError
impl UnwindSafe for DataParseError
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