pub struct FailurePattern {
pub strategy: FailureStrategy,
}Expand description
Strategy for filtering failed command output.
When a command exits with a non-zero status, the failure strategy extracts relevant error information (e.g., tail N lines, head N lines, grep for error keywords, or extract text between delimiters).
Fields§
§strategy: FailureStrategyThe strategy to apply for extracting error information.
Auto Trait Implementations§
impl Freeze for FailurePattern
impl RefUnwindSafe for FailurePattern
impl Send for FailurePattern
impl Sync for FailurePattern
impl Unpin for FailurePattern
impl UnsafeUnpin for FailurePattern
impl UnwindSafe for FailurePattern
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