pub enum CheckError {
OpenSignal(OpenMap),
LogicLoops(PathedNameList),
WritesToInputs(PathedNameList),
}
Expand description
The enum models the errors that can be returned from “checking” a circuit using check_all.
Variants§
OpenSignal(OpenMap)
The check failed because of one or more open signals (described by the OpenMap)
LogicLoops(PathedNameList)
The circuit contains logical loops (i.e., A <- B <- A
), and will not simulate
WritesToInputs(PathedNameList)
The circuit attempts to write to the inputs, which is not allowed in RustHDL.
Trait Implementations§
Source§impl Clone for CheckError
impl Clone for CheckError
Source§fn clone(&self) -> CheckError
fn clone(&self) -> CheckError
Returns a copy 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 CheckError
impl Debug for CheckError
Source§impl From<CheckError> for SimError
impl From<CheckError> for SimError
Source§fn from(x: CheckError) -> Self
fn from(x: CheckError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CheckError
impl PartialEq for CheckError
impl StructuralPartialEq for CheckError
Auto Trait Implementations§
impl Freeze for CheckError
impl RefUnwindSafe for CheckError
impl Send for CheckError
impl Sync for CheckError
impl Unpin for CheckError
impl UnwindSafe for CheckError
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