Enum OutboxPhase
pub enum OutboxPhase {
Initial,
Sampler,
Scheduler,
Resume,
Effects,
Done,
}Expand description
The ordered callback phases of a terminal finalization.
Initial is durably created atomically with the terminal outcome. The remaining phases are explicit so a crash between callbacks leaves a recoverable cursor rather than an inferred best effort.
Variants§
Initial
Terminal outcome and the initial finalization intent are committed.
Sampler
The sampler callback boundary.
Scheduler
The scheduler callback boundary.
Resume
Resume commands have been discovered and durably recorded.
Effects
Other discovered effects are ready to be processed or acknowledged.
Done
Every callback boundary and every effect is complete.
Implementations§
Trait Implementations§
§impl Clone for OutboxPhase
impl Clone for OutboxPhase
§fn clone(&self) -> OutboxPhase
fn clone(&self) -> OutboxPhase
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 OutboxPhase
§impl Debug for OutboxPhase
impl Debug for OutboxPhase
§impl<'de> Deserialize<'de> for OutboxPhase
impl<'de> Deserialize<'de> for OutboxPhase
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutboxPhase
§impl Hash for OutboxPhase
impl Hash for OutboxPhase
§impl Ord for OutboxPhase
impl Ord for OutboxPhase
§fn cmp(&self, other: &OutboxPhase) -> Ordering
fn cmp(&self, other: &OutboxPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for OutboxPhase
impl PartialEq for OutboxPhase
§impl PartialOrd for OutboxPhase
impl PartialOrd for OutboxPhase
§impl Serialize for OutboxPhase
impl Serialize for OutboxPhase
impl StructuralPartialEq for OutboxPhase
Auto Trait Implementations§
impl Freeze for OutboxPhase
impl RefUnwindSafe for OutboxPhase
impl Send for OutboxPhase
impl Sync for OutboxPhase
impl Unpin for OutboxPhase
impl UnsafeUnpin for OutboxPhase
impl UnwindSafe for OutboxPhase
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