Enum netsblox_stateflow::CompileError
source · pub enum CompileError {
ParseError(Box<Error>),
RoleCount {
count: usize,
},
UnknownRole {
name: CompactString,
},
UnsupportedBlock {
state_machine: CompactString,
state: CompactString,
info: CompactString,
},
NonTerminalTransition {
state_machine: CompactString,
state: CompactString,
},
MultipleHandlers {
state_machine: CompactString,
state: CompactString,
},
ComplexTransitionName {
state_machine: CompactString,
state: CompactString,
},
VariadicBlocks {
state_machine: CompactString,
state: CompactString,
},
ActionsOutsideTransition {
state_machine: CompactString,
state: CompactString,
},
VariableOverlap {
state_machines: (CompactString, CompactString),
variable: CompactString,
},
}Variants§
ParseError(Box<Error>)
RoleCount
UnknownRole
Fields
§
name: CompactStringUnsupportedBlock
NonTerminalTransition
MultipleHandlers
ComplexTransitionName
VariadicBlocks
ActionsOutsideTransition
VariableOverlap
Trait Implementations§
source§impl Debug for CompileError
impl Debug for CompileError
source§impl PartialEq for CompileError
impl PartialEq for CompileError
source§fn eq(&self, other: &CompileError) -> bool
fn eq(&self, other: &CompileError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CompileError
impl StructuralPartialEq for CompileError
Auto Trait Implementations§
impl Freeze for CompileError
impl RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl UnwindSafe for CompileError
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