pub enum AuditTrailScope {
Full,
Own,
None,
}Expand description
How much of Message::audit_trail a step’s snapshot carries.
This is the knob for the quadratic term of trace size: under
AuditTrailScope::Full, step i clones i audit entries, so an N-task
workflow retains N*(N+1)/2 of them.
Variants§
Full
Every entry accumulated so far — the historical behaviour. Total entries
across the trace grow as N*(N+1)/2 in task count.
Own
Only the entry this task produced, and none for a TaskOutcome::Skip
step. Linear in task count, and sufficient for the dataflow-ui step
debugger, which reads only the last entry.
None
Empty audit_trail in every snapshot.
Trait Implementations§
Source§impl Clone for AuditTrailScope
impl Clone for AuditTrailScope
Source§fn clone(&self) -> AuditTrailScope
fn clone(&self) -> AuditTrailScope
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 AuditTrailScope
Source§impl Debug for AuditTrailScope
impl Debug for AuditTrailScope
Source§impl Default for AuditTrailScope
impl Default for AuditTrailScope
Source§fn default() -> AuditTrailScope
fn default() -> AuditTrailScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditTrailScope
impl<'de> Deserialize<'de> for AuditTrailScope
Source§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 AuditTrailScope
Source§impl PartialEq for AuditTrailScope
impl PartialEq for AuditTrailScope
Source§impl Serialize for AuditTrailScope
impl Serialize for AuditTrailScope
impl StructuralPartialEq for AuditTrailScope
Auto Trait Implementations§
impl Freeze for AuditTrailScope
impl RefUnwindSafe for AuditTrailScope
impl Send for AuditTrailScope
impl Sync for AuditTrailScope
impl Unpin for AuditTrailScope
impl UnsafeUnpin for AuditTrailScope
impl UnwindSafe for AuditTrailScope
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