pub enum ActivationError {
ReplayDivergence {
actor: Address,
position: u64,
},
MissingVersion {
actor: Address,
version: String,
},
NoChart(Address),
Decode(DecodeError),
Store(StoreError),
Machine(String),
Append(AppendError),
}Expand description
Why an actor could not be activated.
Variants§
ReplayDivergence
A replayed macrostep produced a different configuration digest or different effects.
MissingVersion
A recorded chart version is not in the registry.
NoChart(Address)
No chart type is registered for an actor with an empty journal.
Decode(DecodeError)
A journal record is malformed.
Store(StoreError)
The store failed.
Machine(String)
The interpreter failed.
Append(AppendError)
A turn’s append failed for another reason than a conflict or a fencing token.
Trait Implementations§
Source§impl Clone for ActivationError
impl Clone for ActivationError
Source§impl Debug for ActivationError
impl Debug for ActivationError
Source§impl Display for ActivationError
impl Display for ActivationError
Source§impl Error for ActivationError
impl Error for ActivationError
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 ActivationError
impl PartialEq for ActivationError
impl StructuralPartialEq for ActivationError
Auto Trait Implementations§
impl Forget for ActivationError
impl Freeze for ActivationError
impl Move for ActivationError
impl RefUnwindSafe for ActivationError
impl Send for ActivationError
impl Sync for ActivationError
impl Unpin for ActivationError
impl UnsafeUnpin for ActivationError
impl UnwindSafe for ActivationError
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