pub enum CredentialState {
Present,
Missing,
Unusable(String),
Unreadable(String),
}Expand description
Whether the tracing library found a credential for this project.
Variants§
Present
Missing
Unusable(String)
There is one, but it cannot be used as configured (the reason).
Unreadable(String)
The credential file exists but could not be read (its path).
Trait Implementations§
Source§impl Clone for CredentialState
impl Clone for CredentialState
Source§impl Debug for CredentialState
impl Debug for CredentialState
impl Eq for CredentialState
Source§impl PartialEq for CredentialState
impl PartialEq for CredentialState
impl StructuralPartialEq for CredentialState
Auto Trait Implementations§
impl Forget for CredentialState
impl Freeze for CredentialState
impl Move for CredentialState
impl RefUnwindSafe for CredentialState
impl Send for CredentialState
impl Sync for CredentialState
impl Unpin for CredentialState
impl UnsafeUnpin for CredentialState
impl UnwindSafe for CredentialState
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.