pub enum ToolProbeError {
InvalidName {
name: String,
reason: &'static str,
},
EmptyCommand {
name: String,
},
}Expand description
Why an operator-declared tool probe was refused before it ever ran.
Variants§
InvalidName
The name cannot survive the fact wire format or is empty.
EmptyCommand
A probe with no argv can never prove anything.
Trait Implementations§
Source§impl Clone for ToolProbeError
impl Clone for ToolProbeError
Source§impl Debug for ToolProbeError
impl Debug for ToolProbeError
Source§impl Display for ToolProbeError
impl Display for ToolProbeError
impl Eq for ToolProbeError
Source§impl Error for ToolProbeError
impl Error for ToolProbeError
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()
Source§impl PartialEq for ToolProbeError
impl PartialEq for ToolProbeError
impl StructuralPartialEq for ToolProbeError
Auto Trait Implementations§
impl Freeze for ToolProbeError
impl RefUnwindSafe for ToolProbeError
impl Send for ToolProbeError
impl Sync for ToolProbeError
impl Unpin for ToolProbeError
impl UnsafeUnpin for ToolProbeError
impl UnwindSafe for ToolProbeError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<E> IntoErrorPanel for Ewhere
E: Error,
impl<E> IntoErrorPanel for Ewhere
E: Error,
Source§fn into_panel(self) -> ErrorPanel
fn into_panel(self) -> ErrorPanel
Convert this error into an ErrorPanel.