pub enum ProgError {
IsaNotSupported(String),
TooManyLibs,
}
Expand description
Errors returned by Prog::add_lib
method
Variants§
IsaNotSupported(String)
ISA id {0} is not supported by the selected instruction set
TooManyLibs
Attempt to add library when maximum possible number of libraries is already present in the VM
Trait Implementations§
source§impl Error for ProgError
impl Error for ProgError
1.30.0 · 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 Ord for ProgError
impl Ord for ProgError
source§impl PartialEq for ProgError
impl PartialEq for ProgError
source§impl PartialOrd for ProgError
impl PartialOrd for ProgError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ProgError
impl StructuralPartialEq for ProgError
Auto Trait Implementations§
impl Freeze for ProgError
impl RefUnwindSafe for ProgError
impl Send for ProgError
impl Sync for ProgError
impl Unpin for ProgError
impl UnwindSafe for ProgError
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.