pub enum TransactionPhase {
Queued,
EstablishingSession,
Running,
Cancelling,
Finalizing,
CompletionPublished,
CleanupPending,
}Expand description
Ledger phase machine (v2 §8.2).
Variants§
Queued
Admitted; supervisor has not started work.
EstablishingSession
External session create/load in progress.
Running
Provider/tool work running.
Cancelling
Cancellation in progress.
Finalizing
Terminal selected; publishing.
CompletionPublished
Completion published; cleanup already done.
CleanupPending
Completion published; owned cleanup remains.
Trait Implementations§
Source§impl Clone for TransactionPhase
impl Clone for TransactionPhase
Source§fn clone(&self) -> TransactionPhase
fn clone(&self) -> TransactionPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransactionPhase
Source§impl Debug for TransactionPhase
impl Debug for TransactionPhase
impl Eq for TransactionPhase
Source§impl Hash for TransactionPhase
impl Hash for TransactionPhase
Source§impl PartialEq for TransactionPhase
impl PartialEq for TransactionPhase
impl StructuralPartialEq for TransactionPhase
Auto Trait Implementations§
impl Freeze for TransactionPhase
impl RefUnwindSafe for TransactionPhase
impl Send for TransactionPhase
impl Sync for TransactionPhase
impl Unpin for TransactionPhase
impl UnsafeUnpin for TransactionPhase
impl UnwindSafe for TransactionPhase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.