pub enum ModelRegistryError {
Empty,
DuplicateProvider(ProviderId),
ProviderCatalogMismatch(ProviderId),
}Expand description
Invalid immutable provider-registry composition.
Variants§
Empty
At least one provider is required.
DuplicateProvider(ProviderId)
Two adapters claimed the same provider identity.
ProviderCatalogMismatch(ProviderId)
An adapter advertised a model owned by a different provider.
Trait Implementations§
Source§impl Clone for ModelRegistryError
impl Clone for ModelRegistryError
Source§fn clone(&self) -> ModelRegistryError
fn clone(&self) -> ModelRegistryError
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 ModelRegistryError
impl Debug for ModelRegistryError
Source§impl Display for ModelRegistryError
impl Display for ModelRegistryError
impl Eq for ModelRegistryError
Source§impl Error for ModelRegistryError
impl Error for ModelRegistryError
1.30.0 · 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 PartialEq for ModelRegistryError
impl PartialEq for ModelRegistryError
impl StructuralPartialEq for ModelRegistryError
Auto Trait Implementations§
impl Freeze for ModelRegistryError
impl RefUnwindSafe for ModelRegistryError
impl Send for ModelRegistryError
impl Sync for ModelRegistryError
impl Unpin for ModelRegistryError
impl UnsafeUnpin for ModelRegistryError
impl UnwindSafe for ModelRegistryError
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