pub enum ZooEmbeddingError {
RequestFailed(String),
InvalidModelArchitecture,
UnimplementedModelDimensions(String),
FailedEmbeddingGeneration(String),
}Variants§
RequestFailed(String)
InvalidModelArchitecture
UnimplementedModelDimensions(String)
FailedEmbeddingGeneration(String)
Trait Implementations§
Source§impl Debug for ZooEmbeddingError
impl Debug for ZooEmbeddingError
Source§impl Display for ZooEmbeddingError
impl Display for ZooEmbeddingError
Source§impl Error for ZooEmbeddingError
impl Error for ZooEmbeddingError
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 From<Error> for ZooEmbeddingError
impl From<Error> for ZooEmbeddingError
Source§impl PartialEq for ZooEmbeddingError
impl PartialEq for ZooEmbeddingError
Source§fn eq(&self, other: &ZooEmbeddingError) -> bool
fn eq(&self, other: &ZooEmbeddingError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ZooEmbeddingError
Auto Trait Implementations§
impl Freeze for ZooEmbeddingError
impl RefUnwindSafe for ZooEmbeddingError
impl Send for ZooEmbeddingError
impl Sync for ZooEmbeddingError
impl Unpin for ZooEmbeddingError
impl UnsafeUnpin for ZooEmbeddingError
impl UnwindSafe for ZooEmbeddingError
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