pub enum RejectedCredentialSource {
Environment {
env_var: Option<String>,
},
WorkspaceDotEnv {
env_var: Option<String>,
},
SecureStorage,
}Expand description
Where a rejected credential came from, for auth-failure guidance.
Mirrors vtcode_config::api_keys::CredentialSource without the dependency
(vtcode-config depends on this crate).
Variants§
Environment
Process environment variable; carries the variable name when known.
None (a fully custom variable) keeps the source-level wording
rather than guessing the provider default.
WorkspaceDotEnv
Workspace .env file; carries the variable name when known.
SecureStorage
OS keyring / encrypted file storage.
Trait Implementations§
Source§impl Clone for RejectedCredentialSource
impl Clone for RejectedCredentialSource
Source§impl Debug for RejectedCredentialSource
impl Debug for RejectedCredentialSource
impl Eq for RejectedCredentialSource
Source§impl PartialEq for RejectedCredentialSource
impl PartialEq for RejectedCredentialSource
impl StructuralPartialEq for RejectedCredentialSource
Auto Trait Implementations§
impl Forget for RejectedCredentialSource
impl Freeze for RejectedCredentialSource
impl Move for RejectedCredentialSource
impl RefUnwindSafe for RejectedCredentialSource
impl Send for RejectedCredentialSource
impl Sync for RejectedCredentialSource
impl Unpin for RejectedCredentialSource
impl UnsafeUnpin for RejectedCredentialSource
impl UnwindSafe for RejectedCredentialSource
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.