pub enum ProviderStoreError {
Show 18 variants
Storage(SecureStoreError),
InvalidStore,
UnversionedStore,
LegacyStoreVersion,
UnsupportedStoreVersion,
InvalidRequest,
CatalogRevisionConflict,
RuntimeRevisionConflict,
StoreGenerationConflict,
StoreRevisionConflict,
ProviderStateRevisionConflict,
StaleConnectionGeneration,
IdempotencyConflict,
GenerationExhausted,
ProposalMismatch,
Stale,
Encoding,
Contention,
}Expand description
Provider-store failures contain no request bodies, credential values, or content excerpts.
Variants§
Storage(SecureStoreError)
InvalidStore
UnversionedStore
LegacyStoreVersion
UnsupportedStoreVersion
InvalidRequest
CatalogRevisionConflict
RuntimeRevisionConflict
StoreGenerationConflict
StoreRevisionConflict
ProviderStateRevisionConflict
StaleConnectionGeneration
IdempotencyConflict
GenerationExhausted
ProposalMismatch
Stale
Encoding
Contention
Trait Implementations§
Source§impl Debug for ProviderStoreError
impl Debug for ProviderStoreError
Source§impl Display for ProviderStoreError
impl Display for ProviderStoreError
Source§impl Error for ProviderStoreError
impl Error for ProviderStoreError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ProviderStoreError> for ModelManagerError
impl From<ProviderStoreError> for ModelManagerError
Source§fn from(source: ProviderStoreError) -> Self
fn from(source: ProviderStoreError) -> Self
Converts to this type from the input type.
Source§impl From<SecureStoreError> for ProviderStoreError
impl From<SecureStoreError> for ProviderStoreError
Source§fn from(error: SecureStoreError) -> Self
fn from(error: SecureStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ProviderStoreError
impl !UnwindSafe for ProviderStoreError
impl Freeze for ProviderStoreError
impl Send for ProviderStoreError
impl Sync for ProviderStoreError
impl Unpin for ProviderStoreError
impl UnsafeUnpin for ProviderStoreError
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