pub struct ErrorOccurredOutput {
pub suppress_output: Option<bool>,
pub error_handling: Option<String>,
pub retry_count: Option<u32>,
pub user_notification: Option<String>,
}Expand description
Output for the errorOccurred hook.
Fields§
§suppress_output: Option<bool>Suppress the hook’s output from the session log.
error_handling: Option<String>How to handle the error: "retry", "skip", or "abort".
retry_count: Option<u32>Number of retries to attempt.
user_notification: Option<String>Message to show the user.
Trait Implementations§
Source§impl Clone for ErrorOccurredOutput
impl Clone for ErrorOccurredOutput
Source§fn clone(&self) -> ErrorOccurredOutput
fn clone(&self) -> ErrorOccurredOutput
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 moreSource§impl Debug for ErrorOccurredOutput
impl Debug for ErrorOccurredOutput
Source§impl Default for ErrorOccurredOutput
impl Default for ErrorOccurredOutput
Source§fn default() -> ErrorOccurredOutput
fn default() -> ErrorOccurredOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ErrorOccurredOutput
impl RefUnwindSafe for ErrorOccurredOutput
impl Send for ErrorOccurredOutput
impl Sync for ErrorOccurredOutput
impl Unpin for ErrorOccurredOutput
impl UnsafeUnpin for ErrorOccurredOutput
impl UnwindSafe for ErrorOccurredOutput
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