pub enum ProviderStatus {
Available,
IndexMissing,
Stale,
Unavailable,
Incompatible,
InvalidResponse,
TimedOut,
}Expand description
Availability state reported by a local intelligence provider.
Variants§
Available
Provider and repository index are ready.
IndexMissing
Provider is installed but the repository has no existing index.
Stale
Existing index does not match the repository state.
Provider is unavailable.
Incompatible
Public capabilities are incompatible with the adapter.
InvalidResponse
Provider returned an invalid public protocol response.
TimedOut
Provider probing exceeded its configured deadline.
Trait Implementations§
Source§impl Clone for ProviderStatus
impl Clone for ProviderStatus
Source§fn clone(&self) -> ProviderStatus
fn clone(&self) -> ProviderStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProviderStatus
Source§impl Debug for ProviderStatus
impl Debug for ProviderStatus
Source§impl<'de> Deserialize<'de> for ProviderStatus
impl<'de> Deserialize<'de> for ProviderStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderStatus
Source§impl PartialEq for ProviderStatus
impl PartialEq for ProviderStatus
Source§impl Serialize for ProviderStatus
impl Serialize for ProviderStatus
impl StructuralPartialEq for ProviderStatus
Auto Trait Implementations§
impl Freeze for ProviderStatus
impl RefUnwindSafe for ProviderStatus
impl Send for ProviderStatus
impl Sync for ProviderStatus
impl Unpin for ProviderStatus
impl UnsafeUnpin for ProviderStatus
impl UnwindSafe for ProviderStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.