pub enum Interruption {
Show 39 variants
Done(Value_),
Send(ActorMethod, Option<Inst>, Value_),
Response(Response),
Breakpoint(Breakpoint),
Dangling(Pointer),
NotOwner(Pointer),
ImportCycle(Vector<ModulePath>),
ModuleFileNotFound(ModulePath),
ModuleNotStatic(Source, Option<String>),
ModuleFieldNotPublic(Id),
TypeMismatch(OptionCoreSource),
NonLiteralInit(Source),
NoMatchingCase,
SyntaxError(SyntaxError),
SyntaxErrorCode(SyntaxError),
ValueError(ValueError),
EvalInitError(EvalInitError),
UnboundIdentifer(Id),
MissingActorDefinition,
NotAnActorDefinition,
NotAModuleDefinition,
MissingModuleDefinition,
AmbiguousActorId(ActorId),
ActorIdNotFound(ActorId),
ActorFieldNotFound(ActorId, Id),
ActorFieldNotPublic(ActorId, Id),
AmbiguousIdentifer(Id, Source, Source),
UnrecognizedPrim(String),
Limit(Limit),
DivideByZero,
AmbiguousOperation,
AssertionFailure,
IndexOutOfBounds,
NoDoQuestBangNull,
MisplacedReturn,
NotYetImplemented(CoreSource, Option<String>),
Unknown,
Impossible,
Other(String),
}Variants§
Done(Value_)
Send(ActorMethod, Option<Inst>, Value_)
Response(Response)
Breakpoint(Breakpoint)
Dangling(Pointer)
NotOwner(Pointer)
ImportCycle(Vector<ModulePath>)
ModuleFileNotFound(ModulePath)
ModuleNotStatic(Source, Option<String>)
ModuleFieldNotPublic(Id)
TypeMismatch(OptionCoreSource)
NonLiteralInit(Source)
NoMatchingCase
SyntaxError(SyntaxError)
SyntaxErrorCode(SyntaxError)
ValueError(ValueError)
EvalInitError(EvalInitError)
UnboundIdentifer(Id)
MissingActorDefinition
NotAnActorDefinition
NotAModuleDefinition
MissingModuleDefinition
AmbiguousActorId(ActorId)
ActorIdNotFound(ActorId)
ActorFieldNotFound(ActorId, Id)
ActorFieldNotPublic(ActorId, Id)
AmbiguousIdentifer(Id, Source, Source)
UnrecognizedPrim(String)
Limit(Limit)
DivideByZero
AmbiguousOperation
AssertionFailure
IndexOutOfBounds
NoDoQuestBangNull
MisplacedReturn
NotYetImplemented(CoreSource, Option<String>)
Unknown
Impossible
Other(String)
Implementations§
Source§impl Interruption
impl Interruption
pub fn is_recoverable(&self) -> bool
Trait Implementations§
Source§impl Clone for Interruption
impl Clone for Interruption
Source§fn clone(&self) -> Interruption
fn clone(&self) -> Interruption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Interruption
impl Debug for Interruption
Source§impl<'de> Deserialize<'de> for Interruption
impl<'de> Deserialize<'de> for Interruption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<()> for Interruption
impl From<()> for Interruption
Source§fn from(_x: ()) -> Interruption
fn from(_x: ()) -> Interruption
Converts to this type from the input type.
Source§impl From<EvalInitError> for Interruption
impl From<EvalInitError> for Interruption
Source§fn from(err: EvalInitError) -> Self
fn from(err: EvalInitError) -> Self
Converts to this type from the input type.
Source§impl From<SyntaxError> for Interruption
impl From<SyntaxError> for Interruption
Source§fn from(err: SyntaxError) -> Self
fn from(err: SyntaxError) -> Self
Converts to this type from the input type.
Source§impl From<SyntaxError> for Interruption
impl From<SyntaxError> for Interruption
Source§fn from(err: SyntaxErrorCode) -> Self
fn from(err: SyntaxErrorCode) -> Self
Converts to this type from the input type.
Source§impl From<ValueError> for Interruption
impl From<ValueError> for Interruption
Source§fn from(err: ValueError) -> Self
fn from(err: ValueError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Interruption
impl PartialEq for Interruption
Source§impl Serialize for Interruption
impl Serialize for Interruption
impl Eq for Interruption
impl StructuralPartialEq for Interruption
Auto Trait Implementations§
impl Freeze for Interruption
impl !RefUnwindSafe for Interruption
impl !Send for Interruption
impl !Sync for Interruption
impl Unpin for Interruption
impl !UnwindSafe for Interruption
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