#[non_exhaustive]pub enum ReloadError {
NotStopped,
Load(LoadError),
PositionLost(ResolvedBy),
}Expand description
Why Vm::reload failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotStopped
The VM is not at a stop point.
Load(LoadError)
The state could not be handed over (the reasons of LoadError).
PositionLost(ResolvedBy)
The stop point could only be resolved as the start of a label.
Implementations§
Trait Implementations§
Source§impl Clone for ReloadError
impl Clone for ReloadError
Source§impl Debug for ReloadError
impl Debug for ReloadError
Source§impl Display for ReloadError
impl Display for ReloadError
impl Eq for ReloadError
Source§impl Error for ReloadError
impl Error for ReloadError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReloadError
impl PartialEq for ReloadError
impl StructuralPartialEq for ReloadError
Auto Trait Implementations§
impl Forget for ReloadError
impl Freeze for ReloadError
impl Move for ReloadError
impl RefUnwindSafe for ReloadError
impl Send for ReloadError
impl Sync for ReloadError
impl Unpin for ReloadError
impl UnsafeUnpin for ReloadError
impl UnwindSafe for ReloadError
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