#[non_exhaustive]pub enum RestartabilityDeclaration {
Restartable,
NotRestartable,
}Expand description
Whether a component can honestly claim restartability.
Independent of whether a reader checkpoint exists: a component with required durable state that cannot be reconstructed must not be marked restartable merely because the reader’s own checkpoint is present.
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.
Restartable
No required state, or required state is durably persisted or fully reconstructible without persistence.
NotRestartable
Required state exists, persistence is disabled or unavailable, and the state is not reconstructible.
Trait Implementations§
Source§impl Clone for RestartabilityDeclaration
impl Clone for RestartabilityDeclaration
impl Copy for RestartabilityDeclaration
Source§impl Debug for RestartabilityDeclaration
impl Debug for RestartabilityDeclaration
impl Eq for RestartabilityDeclaration
impl StructuralPartialEq for RestartabilityDeclaration
Auto Trait Implementations§
impl Freeze for RestartabilityDeclaration
impl RefUnwindSafe for RestartabilityDeclaration
impl Send for RestartabilityDeclaration
impl Sync for RestartabilityDeclaration
impl Unpin for RestartabilityDeclaration
impl UnsafeUnpin for RestartabilityDeclaration
impl UnwindSafe for RestartabilityDeclaration
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