FailureCapturePolicy
yosoi::flow::FailureCapturePolicy
pub enum FailureCapturePolicy
Whether the flow captures one screenshot after a failed or unknown step.
Source: crates/yosoi/src/flow/model.rs:899
Variants
Section titled “Variants”Disabled
Section titled “Disabled”Disabled
Do not capture additional evidence after termination.
Source: crates/yosoi/src/flow/model.rs:902
Screenshot
Section titled “Screenshot”Screenshot
Capture one screenshot using the same active Work lease.
Source: crates/yosoi/src/flow/model.rs:904
Trait implementations
Section titled “Trait implementations”Clone
fn clone(&self) -> yosoi::flow::FailureCapturePolicy
Debug
fn fmt(&self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
Deserialize
deserialize
Section titled “deserialize”fn deserialize<__D>(__deserializer: __D) -> _serde::__private229::Result<Self, <__D as >::Error> where __D: _serde::Deserializer<'de>
PartialEq
fn eq(&self, other: &yosoi::flow::FailureCapturePolicy) -> bool
Serialize
serialize
Section titled “serialize”fn serialize<__S>(&self, __serializer: __S) -> _serde::__private229::Result<<__S as >::Ok, <__S as >::Error> where __S: _serde::Serializer