#[non_exhaustive]pub enum CapsuleRestoreError {
InconsistentConversation,
Lifecycle(ConversationStateRestoreError),
}Expand description
A capsule whose sections do not form one valid lifecycle.
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.
InconsistentConversation
The shell’s ordinal and genesis validation disagree.
Lifecycle(ConversationStateRestoreError)
The participants, frontiers and closure failed the joint participant-conversation validation.
Trait Implementations§
Source§impl Clone for CapsuleRestoreError
impl Clone for CapsuleRestoreError
Source§impl Debug for CapsuleRestoreError
impl Debug for CapsuleRestoreError
impl Eq for CapsuleRestoreError
Source§impl PartialEq for CapsuleRestoreError
impl PartialEq for CapsuleRestoreError
impl StructuralPartialEq for CapsuleRestoreError
Auto Trait Implementations§
impl Freeze for CapsuleRestoreError
impl RefUnwindSafe for CapsuleRestoreError
impl Send for CapsuleRestoreError
impl Sync for CapsuleRestoreError
impl Unpin for CapsuleRestoreError
impl UnsafeUnpin for CapsuleRestoreError
impl UnwindSafe for CapsuleRestoreError
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