pub struct DefaultConfig { /* private fields */ }
Expand description
The default configuration to use when an issue has occured generating instructions
Implementations§
Source§impl DefaultConfig
impl DefaultConfig
Sourcepub fn new(fail_on_error: bool, error: Error) -> Self
pub fn new(fail_on_error: bool, error: Error) -> Self
Create a new DefaultConfig
struct with the given values.
Sourcepub fn fail_on_error(&self) -> &bool
pub fn fail_on_error(&self) -> &bool
Should we fail if an error occurs or output idempotent values on error?
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DefaultConfig
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnwindSafe for DefaultConfig
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