pub struct BackendAvailability {
pub backend: &'static CliBackend,
pub path: PathBuf,
pub usable: bool,
}Expand description
A backend whose binary was found, plus whether MUR may drive it.
usable == false is a backend that is present and listed but must not be
spawned; the caller renders it with Activation::Disabled’s reason. It is
deliberately not filtered out — the disabled entry is what carries the
explanation.
Fields§
§backend: &'static CliBackend§path: PathBuf§usable: boolTrait Implementations§
Source§impl Clone for BackendAvailability
impl Clone for BackendAvailability
Source§impl Debug for BackendAvailability
impl Debug for BackendAvailability
impl Eq for BackendAvailability
Source§impl PartialEq for BackendAvailability
impl PartialEq for BackendAvailability
impl StructuralPartialEq for BackendAvailability
Auto Trait Implementations§
impl Freeze for BackendAvailability
impl RefUnwindSafe for BackendAvailability
impl Send for BackendAvailability
impl Sync for BackendAvailability
impl Unpin for BackendAvailability
impl UnsafeUnpin for BackendAvailability
impl UnwindSafe for BackendAvailability
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.