#[repr(i32)]pub enum RunTimeErrorOption {
ShowDialog = 0,
Continue = 1,
Ignore = 2,
Abort = 3,
Retry = 4,
}Expand description
The station’s response to a run-time error (RTEOption_*).
ShowDialog is the one to watch on an unattended host:
it suspends the execution until an operator answers, which on an
unattended station is an outage rather than a prompt.
Variants§
ShowDialog = 0
Prompt the operator (RTEOption_ShowDialog). Blocks until answered.
Continue = 1
Pass the error to the calling sequence (RTEOption_Continue).
Ignore = 2
Carry on as though nothing happened (RTEOption_Ignore).
Abort = 3
Abort the execution (RTEOption_Abort).
Retry = 4
Re-run the step that failed (RTEOption_Retry).
Implementations§
Source§impl RunTimeErrorOption
impl RunTimeErrorOption
Sourcepub const fn from_bits(raw: i32) -> Result<Self, i32>
pub const fn from_bits(raw: i32) -> Result<Self, i32>
Reads a raw value, returning it unchanged when it is one this build does not name.
§Errors
The raw value, when it matches no known option.
Sourcepub const fn is_interactive(self) -> bool
pub const fn is_interactive(self) -> bool
Whether this response is interactive.
The single question an unattended host needs answered.
Trait Implementations§
Source§impl Clone for RunTimeErrorOption
impl Clone for RunTimeErrorOption
Source§fn clone(&self) -> RunTimeErrorOption
fn clone(&self) -> RunTimeErrorOption
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 RunTimeErrorOption
Source§impl Debug for RunTimeErrorOption
impl Debug for RunTimeErrorOption
impl Eq for RunTimeErrorOption
Source§impl Hash for RunTimeErrorOption
impl Hash for RunTimeErrorOption
Source§impl PartialEq for RunTimeErrorOption
impl PartialEq for RunTimeErrorOption
impl StructuralPartialEq for RunTimeErrorOption
Auto Trait Implementations§
impl Freeze for RunTimeErrorOption
impl RefUnwindSafe for RunTimeErrorOption
impl Send for RunTimeErrorOption
impl Sync for RunTimeErrorOption
impl Unpin for RunTimeErrorOption
impl UnsafeUnpin for RunTimeErrorOption
impl UnwindSafe for RunTimeErrorOption
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