pub struct UnknownHarness {
pub requested: String,
pub available: Vec<&'static str>,
}Expand description
An unknown --harness selector — a caller/config error (soft, never a panic).
Fields§
§requested: StringThe name the caller asked for.
available: Vec<&'static str>The names that ARE registered.
Trait Implementations§
Source§impl Debug for UnknownHarness
impl Debug for UnknownHarness
Source§impl Display for UnknownHarness
impl Display for UnknownHarness
Source§impl Error for UnknownHarness
impl Error for UnknownHarness
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()
Auto Trait Implementations§
impl Freeze for UnknownHarness
impl RefUnwindSafe for UnknownHarness
impl Send for UnknownHarness
impl Sync for UnknownHarness
impl Unpin for UnknownHarness
impl UnsafeUnpin for UnknownHarness
impl UnwindSafe for UnknownHarness
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