Enum tblgen::error::TableGenError
source · pub enum TableGenError {
Parse,
AddSource,
AddInclude,
NullPointer,
InvalidBitRange,
StringNulError(NulError),
StrUtf8Error(Utf8Error),
StringUtf8Error(FromUtf8Error),
IncorrectInitType,
Infallible(Infallible),
Unknown,
}Variants§
Parse
AddSource
AddInclude
NullPointer
InvalidBitRange
StringNulError(NulError)
StrUtf8Error(Utf8Error)
StringUtf8Error(FromUtf8Error)
IncorrectInitType
Infallible(Infallible)
Unknown
Trait Implementations§
source§impl Debug for TableGenError
impl Debug for TableGenError
source§impl Display for TableGenError
impl Display for TableGenError
source§impl Error for TableGenError
impl Error for TableGenError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<FromUtf8Error> for TableGenError
impl From<FromUtf8Error> for TableGenError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<Infallible> for TableGenError
impl From<Infallible> for TableGenError
source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
source§impl From<NulError> for TableGenError
impl From<NulError> for TableGenError
source§impl From<Utf8Error> for TableGenError
impl From<Utf8Error> for TableGenError
source§impl PartialEq<TableGenError> for TableGenError
impl PartialEq<TableGenError> for TableGenError
source§fn eq(&self, other: &TableGenError) -> bool
fn eq(&self, other: &TableGenError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TableGenError
impl StructuralEq for TableGenError
impl StructuralPartialEq for TableGenError
Auto Trait Implementations§
impl RefUnwindSafe for TableGenError
impl Send for TableGenError
impl Sync for TableGenError
impl Unpin for TableGenError
impl UnwindSafe for TableGenError
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