#[non_exhaustive]pub enum VpiError {
Utf8Error(Utf8Error),
NoModule(&'static CStr),
BitVectorLengthMissMatch {
expected: usize,
actual: usize,
},
PeriodTooSmall,
}Expand description
Errors relating to VPI
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Utf8Error(Utf8Error)
String conversion error from verilog to rust
NoModule(&'static CStr)
Module was not found
BitVectorLengthMissMatch
Vector length missmat
PeriodTooSmall
Period too small
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VpiError
impl RefUnwindSafe for VpiError
impl Send for VpiError
impl Sync for VpiError
impl Unpin for VpiError
impl UnsafeUnpin for VpiError
impl UnwindSafe for VpiError
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