pub enum ExecutionError {
Show 31 variants
Unspecified(String),
DXBParserError(DXBParserError),
ValueError(ValueError),
InvalidProgram(InvalidProgramError),
AccessError(AccessError),
CacheValueRetrievalError(CacheValueRetrievalError),
UpdateError(UpdateError),
Unknown,
NotImplemented(String),
StackValueNotAllocated(StackIndex),
StackOutOfBoundsAccess(StackIndex),
InternalSlotDoesNotExist(u32),
RequiresAsyncExecution,
ResponseError(ResponseError),
IllegalTypeError(IllegalTypeError),
ReferenceNotFound,
InvalidUnbox,
InvalidTypeCast,
ExpectedTypeValue,
InvalidSharedValueType,
ExpectedSharedValue,
ExpectedLocalValue,
ExpectedOwnedSharedValue,
MutableReferenceToNonMutableValue,
AssignmentError(AssignmentError),
ReferenceCreationError(SharedValueCreationError),
IntermediateResultWithState(Option<ValueContainer>, Option<ExecutionLoopState>),
ApplyError(ApplyError),
UnauthorizedMove,
InvalidMove,
MoveToMultipleEndpoints,
}Variants§
Unspecified(String)
DXBParserError(DXBParserError)
ValueError(ValueError)
InvalidProgram(InvalidProgramError)
AccessError(AccessError)
CacheValueRetrievalError(CacheValueRetrievalError)
UpdateError(UpdateError)
Unknown
NotImplemented(String)
StackValueNotAllocated(StackIndex)
StackOutOfBoundsAccess(StackIndex)
InternalSlotDoesNotExist(u32)
RequiresAsyncExecution
ResponseError(ResponseError)
IllegalTypeError(IllegalTypeError)
ReferenceNotFound
InvalidUnbox
InvalidTypeCast
ExpectedTypeValue
ExpectedLocalValue
MutableReferenceToNonMutableValue
AssignmentError(AssignmentError)
ReferenceCreationError(SharedValueCreationError)
IntermediateResultWithState(Option<ValueContainer>, Option<ExecutionLoopState>)
ApplyError(ApplyError)
InvalidMove
MoveToMultipleEndpoints
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<ApplyError> for ExecutionError
impl From<ApplyError> for ExecutionError
Source§fn from(error: ApplyError) -> Self
fn from(error: ApplyError) -> 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<CacheValueRetrievalError> for ExecutionError
impl From<CacheValueRetrievalError> for ExecutionError
Source§fn from(err: CacheValueRetrievalError) -> Self
fn from(err: CacheValueRetrievalError) -> 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<ExecutionError> for DeserializationError
impl From<ExecutionError> for DeserializationError
Source§fn from(err: ExecutionError) -> DeserializationError
fn from(err: ExecutionError) -> DeserializationError
Converts to this type from the input type.
Source§impl From<ExecutionError> for CallableError
impl From<ExecutionError> for CallableError
Source§fn from(error: ExecutionError) -> Self
fn from(error: 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<InjectedValueValidationError> for ExecutionError
impl From<InjectedValueValidationError> for ExecutionError
Source§fn from(error: InjectedValueValidationError) -> ExecutionError
fn from(error: InjectedValueValidationError) -> ExecutionError
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<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§fn from(error: SharedValueCreationError) -> Self
fn from(error: SharedValueCreationError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateError> for ExecutionError
impl From<UpdateError> for ExecutionError
Source§fn from(error: UpdateError) -> Self
fn from(error: UpdateError) -> 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 !RefUnwindSafe for ExecutionError
impl !Send for ExecutionError
impl !Sync for ExecutionError
impl !UnwindSafe for ExecutionError
impl Freeze for ExecutionError
impl Unpin for ExecutionError
impl UnsafeUnpin for ExecutionError
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
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 moreSource§impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
Source§fn is_subset_of(&self, other: &U) -> bool
fn is_subset_of(&self, other: &U) -> bool
Returns whether self is a subset of type