pub struct MissingCapability {
pub backend: String,
pub missing: Vec<&'static str>,
}Expand description
The reason a backend cannot execute a program.
Returned by check_backend_capabilities when the scan finds a
capability the backend did not advertise. Carries every missing bit
so callers can emit one actionable error instead of bisecting.
Fields§
§backend: StringBackend identifier that was asked to run the program.
missing: Vec<&'static str>Flat list of human-readable capability names the backend lacks.
Trait Implementations§
Source§impl Clone for MissingCapability
impl Clone for MissingCapability
Source§fn clone(&self) -> MissingCapability
fn clone(&self) -> MissingCapability
Returns a duplicate of the value. Read more
1.0.0 · 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 MissingCapability
impl Debug for MissingCapability
Source§impl Display for MissingCapability
impl Display for MissingCapability
Source§impl Error for MissingCapability
impl Error for MissingCapability
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 MissingCapability
impl PartialEq for MissingCapability
impl Eq for MissingCapability
impl StructuralPartialEq for MissingCapability
Auto Trait Implementations§
impl Freeze for MissingCapability
impl RefUnwindSafe for MissingCapability
impl Send for MissingCapability
impl Sync for MissingCapability
impl Unpin for MissingCapability
impl UnsafeUnpin for MissingCapability
impl UnwindSafe for MissingCapability
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§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.