pub enum ExecutionError {
Show 20 variants
DXBParserError(DXBParserError),
ValueError(ValueError),
InvalidProgram(InvalidProgramError),
AccessError(AccessError),
Unknown,
NotImplemented(String),
SlotNotAllocated(u32),
SlotNotInitialized(u32),
RequiresAsyncExecution,
RequiresRuntime,
ResponseError(ResponseError),
IllegalTypeError(IllegalTypeError),
ReferenceNotFound,
DerefOfNonReference,
InvalidTypeCast,
ExpectedTypeValue,
AssignmentError(AssignmentError),
ReferenceFromValueContainerError(ReferenceCreationError),
IntermediateResultWithState(Option<ValueContainer>, Option<ExecutionLoopState>),
InvalidApply,
}Variants§
DXBParserError(DXBParserError)
ValueError(ValueError)
InvalidProgram(InvalidProgramError)
AccessError(AccessError)
Unknown
NotImplemented(String)
SlotNotAllocated(u32)
SlotNotInitialized(u32)
RequiresAsyncExecution
RequiresRuntime
ResponseError(ResponseError)
IllegalTypeError(IllegalTypeError)
ReferenceNotFound
DerefOfNonReference
InvalidTypeCast
ExpectedTypeValue
AssignmentError(AssignmentError)
ReferenceFromValueContainerError(ReferenceCreationError)
IntermediateResultWithState(Option<ValueContainer>, Option<ExecutionLoopState>)
InvalidApply
Trait Implementations§
Source§impl Debug for ExecutionError
impl Debug for ExecutionError
Source§impl Display for ExecutionError
impl Display for ExecutionError
Source§impl From<AccessError> for ExecutionError
impl From<AccessError> for ExecutionError
Source§fn from(error: AccessError) -> Self
fn from(error: AccessError) -> Self
Converts to this type from the input type.
Source§impl From<AssignmentError> for ExecutionError
impl From<AssignmentError> for ExecutionError
Source§fn from(error: AssignmentError) -> Self
fn from(error: AssignmentError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionError> for DeserializationError
impl From<ExecutionError> for DeserializationError
Source§fn from(e: ExecutionError) -> Self
fn from(e: ExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionError> for ScriptExecutionError
impl From<ExecutionError> for ScriptExecutionError
Source§fn from(err: ExecutionError) -> Self
fn from(err: ExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<IllegalTypeError> for ExecutionError
impl From<IllegalTypeError> for ExecutionError
Source§fn from(error: IllegalTypeError) -> Self
fn from(error: IllegalTypeError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidProgramError> for ExecutionError
impl From<InvalidProgramError> for ExecutionError
Source§fn from(error: InvalidProgramError) -> Self
fn from(error: InvalidProgramError) -> Self
Converts to this type from the input type.
Source§impl From<ReferenceCreationError> for ExecutionError
impl From<ReferenceCreationError> for ExecutionError
Source§fn from(error: ReferenceCreationError) -> Self
fn from(error: ReferenceCreationError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for ExecutionError
impl From<ResponseError> for ExecutionError
Source§fn from(error: ResponseError) -> Self
fn from(error: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ValueError> for ExecutionError
impl From<ValueError> for ExecutionError
Source§fn from(error: ValueError) -> Self
fn from(error: ValueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExecutionError
impl !RefUnwindSafe for ExecutionError
impl !Send for ExecutionError
impl !Sync for ExecutionError
impl Unpin for ExecutionError
impl !UnwindSafe for ExecutionError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more