pub enum DynamicCompileError {
UnsupportedProvider,
UnknownModelOverride,
Setup,
Endpoint,
EndpointSelection(String),
Auth,
BaseUrlWithoutAuth,
UnsupportedAdapter,
StaticHeaders(AuthoringError),
CustomModel,
Variant,
Cache(String),
}Variants§
UnsupportedProvider
UnknownModelOverride
Setup
Endpoint
EndpointSelection(String)
Auth
BaseUrlWithoutAuth
UnsupportedAdapter
StaticHeaders(AuthoringError)
CustomModel
Variant
Cache(String)
Trait Implementations§
Source§impl Clone for DynamicCompileError
impl Clone for DynamicCompileError
Source§fn clone(&self) -> DynamicCompileError
fn clone(&self) -> DynamicCompileError
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 DynamicCompileError
impl Debug for DynamicCompileError
Source§impl Display for DynamicCompileError
impl Display for DynamicCompileError
impl Eq for DynamicCompileError
Source§impl Error for DynamicCompileError
impl Error for DynamicCompileError
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<DynamicCompileError> for ModelManagerError
impl From<DynamicCompileError> for ModelManagerError
Source§fn from(source: DynamicCompileError) -> Self
fn from(source: DynamicCompileError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DynamicCompileError
impl PartialEq for DynamicCompileError
Source§fn eq(&self, other: &DynamicCompileError) -> bool
fn eq(&self, other: &DynamicCompileError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DynamicCompileError
Auto Trait Implementations§
impl Freeze for DynamicCompileError
impl RefUnwindSafe for DynamicCompileError
impl Send for DynamicCompileError
impl Sync for DynamicCompileError
impl Unpin for DynamicCompileError
impl UnsafeUnpin for DynamicCompileError
impl UnwindSafe for DynamicCompileError
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