pub enum RunTerminalProjectionError {
NonTerminalStatus(RunStatus),
MissingFailureDiagnostic,
UnexpectedSuccessDiagnostic,
UnexpectedNonTerminalDiagnostic(RunStatus),
EmptyDiagnosticCode,
EmptyDiagnosticMessage,
}Expand description
Invalid new terminal run projection.
Variants§
NonTerminalStatus(RunStatus)
The supplied status is not terminal.
MissingFailureDiagnostic
A failed run omitted its diagnostic.
UnexpectedSuccessDiagnostic
A completed run carried an error diagnostic.
UnexpectedNonTerminalDiagnostic(RunStatus)
A non-terminal run carried a stale terminal diagnostic.
EmptyDiagnosticCode
The stable diagnostic category is empty.
EmptyDiagnosticMessage
The diagnostic message is empty.
Trait Implementations§
Source§impl Clone for RunTerminalProjectionError
impl Clone for RunTerminalProjectionError
Source§fn clone(&self) -> RunTerminalProjectionError
fn clone(&self) -> RunTerminalProjectionError
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 RunTerminalProjectionError
impl Debug for RunTerminalProjectionError
Source§impl Display for RunTerminalProjectionError
impl Display for RunTerminalProjectionError
impl Eq for RunTerminalProjectionError
Source§impl Error for RunTerminalProjectionError
impl Error for RunTerminalProjectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for RunTerminalProjectionError
Auto Trait Implementations§
impl Freeze for RunTerminalProjectionError
impl RefUnwindSafe for RunTerminalProjectionError
impl Send for RunTerminalProjectionError
impl Sync for RunTerminalProjectionError
impl Unpin for RunTerminalProjectionError
impl UnsafeUnpin for RunTerminalProjectionError
impl UnwindSafe for RunTerminalProjectionError
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