pub enum LvsError {
Truncated(&'static str),
LengthMismatch {
offset: usize,
claimed: usize,
available: usize,
},
UnexpectedType {
actual: u64,
expected: u64,
},
UnsupportedVersion {
actual: u64,
expected: u64,
},
NodeIdOutOfRange {
node_id: u64,
n: usize,
},
NodeIdMismatch {
idx: usize,
id: u64,
},
MalformedConstraintOption,
BadIdentifier,
}Expand description
Errors raised while parsing or checking an LVS binary model.
Variants§
Truncated(&'static str)
LengthMismatch
UnexpectedType
UnsupportedVersion
NodeIdOutOfRange
NodeIdMismatch
MalformedConstraintOption
BadIdentifier
Trait Implementations§
Source§impl Error for LvsError
impl Error for LvsError
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()
impl Eq for LvsError
impl StructuralPartialEq for LvsError
Auto Trait Implementations§
impl Freeze for LvsError
impl RefUnwindSafe for LvsError
impl Send for LvsError
impl Sync for LvsError
impl Unpin for LvsError
impl UnwindSafe for LvsError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more