pub enum ModelSchemaError {
Show 25 variants
InvalidMimeType,
EmptyModalities,
InvalidTokenLimits,
ParallelToolsWithoutTools,
InvalidOutputModality,
InvalidMediaCapability,
NonFiniteNumber,
TemperatureOutOfRange,
TopPOutOfRange,
InvalidMaxOutputTokens,
InvalidStopSequence,
InvalidDisplayName,
TooManyVariants,
VariantsNotStrictlySorted,
InvalidVariantOrder,
UnknownDefaultVariant,
ResolvedIdentityMismatch,
DescriptorIdentityMismatch,
NativeCompactionUnsupported,
ProviderOptionsAdapterMismatch,
InvalidReasoningBudget,
InvalidToolName,
FingerprintEncoding,
SelectionFingerprintMismatch,
InvalidFrozenDefaults,
}Variants§
InvalidMimeType
EmptyModalities
InvalidTokenLimits
ParallelToolsWithoutTools
InvalidOutputModality
InvalidMediaCapability
NonFiniteNumber
TemperatureOutOfRange
TopPOutOfRange
InvalidMaxOutputTokens
InvalidStopSequence
InvalidDisplayName
TooManyVariants
VariantsNotStrictlySorted
InvalidVariantOrder
UnknownDefaultVariant
ResolvedIdentityMismatch
DescriptorIdentityMismatch
NativeCompactionUnsupported
ProviderOptionsAdapterMismatch
InvalidReasoningBudget
InvalidToolName
FingerprintEncoding
SelectionFingerprintMismatch
InvalidFrozenDefaults
Trait Implementations§
Source§impl Clone for ModelSchemaError
impl Clone for ModelSchemaError
Source§fn clone(&self) -> ModelSchemaError
fn clone(&self) -> ModelSchemaError
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 moreimpl Copy for ModelSchemaError
Source§impl Debug for ModelSchemaError
impl Debug for ModelSchemaError
Source§impl Display for ModelSchemaError
impl Display for ModelSchemaError
impl Eq for ModelSchemaError
Source§impl Error for ModelSchemaError
impl Error for ModelSchemaError
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 ModelSchemaError
impl PartialEq for ModelSchemaError
Source§fn eq(&self, other: &ModelSchemaError) -> bool
fn eq(&self, other: &ModelSchemaError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelSchemaError
Auto Trait Implementations§
impl Freeze for ModelSchemaError
impl RefUnwindSafe for ModelSchemaError
impl Send for ModelSchemaError
impl Sync for ModelSchemaError
impl Unpin for ModelSchemaError
impl UnsafeUnpin for ModelSchemaError
impl UnwindSafe for ModelSchemaError
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