pub enum RifErrorKind {
Io,
Parse,
AddrWidth,
AddrUnaligned,
FieldKind,
NotIntr,
MissingDef,
Unsupported,
Duplicated,
Keyword,
Generic,
}Expand description
Error kind generated by parser/compiler
Variants§
Io
File IO error
Parse
Parsing error
AddrWidth
Address width not supported
AddrUnaligned
Instance address not aligned with RIF data width
FieldKind
Field Kind incompatibility
NotIntr
Interrupt setting in non interrupt register
MissingDef
Missing register definition
Unsupported
Unsupported Feature
Duplicated
Duplicated register/field definition
Keyword
Use of reserved keyword for a name
Generic
Generic errror
Trait Implementations§
Source§impl Clone for RifErrorKind
impl Clone for RifErrorKind
Source§fn clone(&self) -> RifErrorKind
fn clone(&self) -> RifErrorKind
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 RifErrorKind
impl Debug for RifErrorKind
Source§impl From<RifErrorKind> for RifError
impl From<RifErrorKind> for RifError
Source§fn from(kind: RifErrorKind) -> RifError
fn from(kind: RifErrorKind) -> RifError
Converts to this type from the input type.
Source§impl PartialEq for RifErrorKind
impl PartialEq for RifErrorKind
impl StructuralPartialEq for RifErrorKind
Auto Trait Implementations§
impl Freeze for RifErrorKind
impl RefUnwindSafe for RifErrorKind
impl Send for RifErrorKind
impl Sync for RifErrorKind
impl Unpin for RifErrorKind
impl UnsafeUnpin for RifErrorKind
impl UnwindSafe for RifErrorKind
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