pub enum IsAvailableStatus {
Available,
Unavailable,
NeedsCredential,
}Expand description
Ground states the plugin can report. Mirrors
crate::source::SourceStatus but kept independent so the
wire protocol can evolve separately from the in-process
trait.
Variants§
Available
NeedsCredential
Plugin reachable but its credential is missing /
expired (e.g. op signin needed). The host shows the
detail string and may try a fallback source.
Trait Implementations§
Source§impl Clone for IsAvailableStatus
impl Clone for IsAvailableStatus
Source§fn clone(&self) -> IsAvailableStatus
fn clone(&self) -> IsAvailableStatus
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 moreSource§impl Debug for IsAvailableStatus
impl Debug for IsAvailableStatus
Source§impl<'de> Deserialize<'de> for IsAvailableStatus
impl<'de> Deserialize<'de> for IsAvailableStatus
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
Source§impl Hash for IsAvailableStatus
impl Hash for IsAvailableStatus
Source§impl PartialEq for IsAvailableStatus
impl PartialEq for IsAvailableStatus
Source§fn eq(&self, other: &IsAvailableStatus) -> bool
fn eq(&self, other: &IsAvailableStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IsAvailableStatus
impl Serialize for IsAvailableStatus
impl Copy for IsAvailableStatus
impl Eq for IsAvailableStatus
impl StructuralPartialEq for IsAvailableStatus
Auto Trait Implementations§
impl Freeze for IsAvailableStatus
impl RefUnwindSafe for IsAvailableStatus
impl Send for IsAvailableStatus
impl Sync for IsAvailableStatus
impl Unpin for IsAvailableStatus
impl UnsafeUnpin for IsAvailableStatus
impl UnwindSafe for IsAvailableStatus
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.