pub enum SimulatorErrorCode {
DetectedTrueLoop,
DetectedTrueLoopCode(i64),
DetectedTrueLoopAt {
signals: Vec<String>,
},
Runtime {
message: String,
signals: Vec<String>,
},
InternalError,
NotAnEvent(String),
}Variants§
DetectedTrueLoop
DetectedTrueLoopCode(i64)
DetectedTrueLoopAt
Runtime
InternalError
NotAnEvent(String)
Trait Implementations§
Source§impl Clone for SimulatorErrorCode
impl Clone for SimulatorErrorCode
Source§fn clone(&self) -> SimulatorErrorCode
fn clone(&self) -> SimulatorErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimulatorErrorCode
impl Debug for SimulatorErrorCode
Source§impl Display for SimulatorErrorCode
impl Display for SimulatorErrorCode
impl Eq for SimulatorErrorCode
Source§impl Error for SimulatorErrorCode
impl Error for SimulatorErrorCode
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()
Auto Trait Implementations§
impl Freeze for SimulatorErrorCode
impl RefUnwindSafe for SimulatorErrorCode
impl Send for SimulatorErrorCode
impl Sync for SimulatorErrorCode
impl Unpin for SimulatorErrorCode
impl UnsafeUnpin for SimulatorErrorCode
impl UnwindSafe for SimulatorErrorCode
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