pub enum IntegrationCheck {
Ok {
name: String,
detail: String,
},
Outdated {
name: String,
detail: String,
path: PathBuf,
},
Missing {
name: String,
detail: String,
},
Skipped {
name: String,
detail: String,
},
}Expand description
Outcome of a single integration check, deliberately small so the
caller can convert it into a doctor::Check without coupling this
module to doctor.
Variants§
Ok
Integration is in place and (where checkable) up-to-date.
Outdated
Integration is reachable but content has drifted from what
runex export <shell> would produce now (clink only).
Missing
Integration could not be located at any of the expected paths.
Skipped
Check did not apply (e.g. user has no rcfile for this shell — they probably don’t use it).
Implementations§
Trait Implementations§
Source§impl Clone for IntegrationCheck
impl Clone for IntegrationCheck
Source§fn clone(&self) -> IntegrationCheck
fn clone(&self) -> IntegrationCheck
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 IntegrationCheck
impl Debug for IntegrationCheck
Source§impl PartialEq for IntegrationCheck
impl PartialEq for IntegrationCheck
impl Eq for IntegrationCheck
impl StructuralPartialEq for IntegrationCheck
Auto Trait Implementations§
impl Freeze for IntegrationCheck
impl RefUnwindSafe for IntegrationCheck
impl Send for IntegrationCheck
impl Sync for IntegrationCheck
impl Unpin for IntegrationCheck
impl UnsafeUnpin for IntegrationCheck
impl UnwindSafe for IntegrationCheck
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.