pub enum DataErrKind {
FormatError(String, Option<String>),
NotComplete,
UnParse(String),
LessData,
EmptyData,
LessStc(String),
LessDef(String),
}Variants§
FormatError(String, Option<String>)
NotComplete
UnParse(String)
LessData
EmptyData
LessStc(String)
LessDef(String)
Trait Implementations§
Source§impl Debug for DataErrKind
impl Debug for DataErrKind
Source§impl Display for DataErrKind
impl Display for DataErrKind
Source§impl Error for DataErrKind
impl Error for DataErrKind
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<DataErrKind> for OMLCodeReason
impl From<DataErrKind> for OMLCodeReason
Source§fn from(value: DataErrKind) -> Self
fn from(value: DataErrKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataErrKind
impl PartialEq for DataErrKind
Source§impl SysErrorCode for DataErrKind
impl SysErrorCode for DataErrKind
impl StructuralPartialEq for DataErrKind
Auto Trait Implementations§
impl Freeze for DataErrKind
impl RefUnwindSafe for DataErrKind
impl Send for DataErrKind
impl Sync for DataErrKind
impl Unpin for DataErrKind
impl UnwindSafe for DataErrKind
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