pub enum ExecutionError {
Show 37 variants
Unspecified(String),
DXBParserError(Box<DXBParserError>),
ValueError(Box<ValueError>),
InvalidProgram(Box<InvalidProgramError>),
AccessError(Box<AccessError>),
MethodNotFound(String),
CacheValueRetrievalError(Box<CacheValueRetrievalError>),
UpdateError(Box<UpdateError>),
SubscriberError(Box<SubscriberError>),
Unknown,
InvalidExecutionState,
NotImplemented(String),
StackValueNotAllocated(StackIndex),
StackOutOfBoundsAccess(StackIndex),
InternalSlotDoesNotExist(u32),
RequiresAsyncExecution,
ResponseError(Box<ResponseError>),
IllegalTypeError(Box<IllegalTypeError>),
ReferenceNotFound,
InvalidUnbox,
InvalidTypeCast,
ExpectedTypeValue,
InvalidSharedValueType,
ExpectedSharedValue,
ExpectedLocalValue,
ExpectedEntityValue,
ExpectedOwnedSharedValue,
MutableReferenceToNonMutableValue,
AssignmentError(Box<AssignmentError>),
ReferenceCreationError(Box<SharedValueCreationError>),
IntermediateResultWithState(Box<Option<ValueContainer>>, Box<Option<ExecutionLoopState>>),
ApplyError(Box<ApplyError>),
UnauthorizedMove,
InvalidMove,
MoveToMultipleEndpoints,
UnclonableValue,
StackRestoreMismatch,
}Variants§
Unspecified(String)
DXBParserError(Box<DXBParserError>)
ValueError(Box<ValueError>)
InvalidProgram(Box<InvalidProgramError>)
AccessError(Box<AccessError>)
MethodNotFound(String)
CacheValueRetrievalError(Box<CacheValueRetrievalError>)
UpdateError(Box<UpdateError>)
SubscriberError(Box<SubscriberError>)
Unknown
InvalidExecutionState
NotImplemented(String)
StackValueNotAllocated(StackIndex)
StackOutOfBoundsAccess(StackIndex)
InternalSlotDoesNotExist(u32)
RequiresAsyncExecution
ResponseError(Box<ResponseError>)
IllegalTypeError(Box<IllegalTypeError>)
ReferenceNotFound
InvalidUnbox
InvalidTypeCast
ExpectedTypeValue
ExpectedLocalValue
ExpectedEntityValue
MutableReferenceToNonMutableValue
AssignmentError(Box<AssignmentError>)
ReferenceCreationError(Box<SharedValueCreationError>)
IntermediateResultWithState(Box<Option<ValueContainer>>, Box<Option<ExecutionLoopState>>)
ApplyError(Box<ApplyError>)
InvalidMove
MoveToMultipleEndpoints
UnclonableValue
StackRestoreMismatch
Implementations§
Source§impl ExecutionError
impl ExecutionError
pub fn intermediate_result_with_state( value_opt: Option<ValueContainer>, state_opt: Option<ExecutionLoopState>, ) -> Self
pub fn invalid_program(error: InvalidProgramError) -> Self
pub fn value_error(error: ValueError) -> Self
pub fn access_error(error: AccessError) -> Self
pub fn update_error(error: UpdateError) -> Self
pub fn cache_value_retrieval_error(error: CacheValueRetrievalError) -> Self
pub fn subscriber_error(error: SubscriberError) -> Self
pub fn response_error(error: ResponseError) -> Self
pub fn illegal_type_error(error: IllegalTypeError) -> Self
pub fn apply_error(error: ApplyError) -> Self
pub fn reference_creation_error(error: SharedValueCreationError) -> Self
pub fn assignment_error(error: AssignmentError) -> Self
pub fn dxb_parser_error(error: DXBParserError) -> Self
Trait Implementations§
Source§impl Debug for ExecutionError
impl Debug for ExecutionError
Source§impl Display for ExecutionError
impl Display for ExecutionError
impl Eq 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<SubscriberError> for ExecutionError
impl From<SubscriberError> for ExecutionError
Source§fn from(error: SubscriberError) -> Self
fn from(error: SubscriberError) -> 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.
Source§impl PartialEq for ExecutionError
impl PartialEq for ExecutionError
impl StructuralPartialEq for ExecutionError
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionError
impl !Send for ExecutionError
impl !Sync for ExecutionError
impl !UnwindSafe for ExecutionError
impl Forget for ExecutionError
impl Freeze for ExecutionError
impl Move 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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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