pub enum RunError {
RanAmok,
NotDefined,
}Expand description
Enum representing possible errors when running (a subroutine, a function, an interrupt handler, etc…)
Variants§
RanAmok
The program ran amok (it jumped to some location outside of itself, or caused a runtime exception, or undefined behavior, or …)
NotDefined
The function is not defined for the given parameters
Trait Implementations§
impl Eq for RunError
impl StructuralPartialEq for RunError
Auto Trait Implementations§
impl Freeze for RunError
impl RefUnwindSafe for RunError
impl Send for RunError
impl Sync for RunError
impl Unpin for RunError
impl UnwindSafe for RunError
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> 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.