pub enum RamMachineError {
ExpandError(ExpandError),
BufferError(BufferError),
InputAccessError(InputAccessError),
JumpError(JumpError),
AdditionFailed(CellValue, CellValue),
SubtractionFailed(CellValue, CellValue),
MultiplicationFailed(CellValue, CellValue),
DivisionFailed(CellValue, CellValue),
}Variants§
ExpandError(ExpandError)
BufferError(BufferError)
InputAccessError(InputAccessError)
JumpError(JumpError)
AdditionFailed(CellValue, CellValue)
SubtractionFailed(CellValue, CellValue)
MultiplicationFailed(CellValue, CellValue)
DivisionFailed(CellValue, CellValue)
Trait Implementations§
Source§impl Debug for RamMachineError
impl Debug for RamMachineError
Source§impl Display for RamMachineError
impl Display for RamMachineError
Source§impl Error for RamMachineError
impl Error for RamMachineError
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()
Source§impl From<BufferError> for RamMachineError
impl From<BufferError> for RamMachineError
Source§fn from(source: BufferError) -> Self
fn from(source: BufferError) -> Self
Converts to this type from the input type.
Source§impl From<ExpandError> for RamMachineError
impl From<ExpandError> for RamMachineError
Source§fn from(source: ExpandError) -> Self
fn from(source: ExpandError) -> Self
Converts to this type from the input type.
Source§impl From<InputAccessError> for RamMachineError
impl From<InputAccessError> for RamMachineError
Source§fn from(source: InputAccessError) -> Self
fn from(source: InputAccessError) -> Self
Converts to this type from the input type.
Source§impl From<JumpError> for RamMachineError
impl From<JumpError> for RamMachineError
Source§impl PartialEq for RamMachineError
impl PartialEq for RamMachineError
impl Eq for RamMachineError
impl StructuralPartialEq for RamMachineError
Auto Trait Implementations§
impl Freeze for RamMachineError
impl RefUnwindSafe for RamMachineError
impl Send for RamMachineError
impl Sync for RamMachineError
impl Unpin for RamMachineError
impl UnwindSafe for RamMachineError
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