Enum rail_lang::v1::rail_machine::RailError
source · pub enum RailError {
UnknownCommand(String),
StackUnderflow(RailState, String, Vec<RailType>),
TypeMismatch(Vec<RailType>, Vec<RailVal>),
CantEscape(Context),
}
Variants§
UnknownCommand(String)
StackUnderflow(RailState, String, Vec<RailType>)
TypeMismatch(Vec<RailType>, Vec<RailVal>)
CantEscape(Context)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RailError
impl !Send for RailError
impl !Sync for RailError
impl Unpin for RailError
impl !UnwindSafe for RailError
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