pub enum AutosuggestScorerHandoffError {
Artifact(AutosuggestArtifactError),
Rerank(AutosuggestRerankError),
InvalidBuffer {
field: &'static str,
expected: usize,
actual: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for AutosuggestScorerHandoffError
impl Clone for AutosuggestScorerHandoffError
Source§fn clone(&self) -> AutosuggestScorerHandoffError
fn clone(&self) -> AutosuggestScorerHandoffError
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 Error for AutosuggestScorerHandoffError
impl Error for AutosuggestScorerHandoffError
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<AutosuggestArtifactError> for AutosuggestScorerHandoffError
impl From<AutosuggestArtifactError> for AutosuggestScorerHandoffError
Source§fn from(error: AutosuggestArtifactError) -> Self
fn from(error: AutosuggestArtifactError) -> Self
Converts to this type from the input type.
Source§impl From<AutosuggestRerankError> for AutosuggestScorerHandoffError
impl From<AutosuggestRerankError> for AutosuggestScorerHandoffError
Source§fn from(error: AutosuggestRerankError) -> Self
fn from(error: AutosuggestRerankError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for AutosuggestScorerHandoffError
Auto Trait Implementations§
impl Freeze for AutosuggestScorerHandoffError
impl RefUnwindSafe for AutosuggestScorerHandoffError
impl Send for AutosuggestScorerHandoffError
impl Sync for AutosuggestScorerHandoffError
impl Unpin for AutosuggestScorerHandoffError
impl UnsafeUnpin for AutosuggestScorerHandoffError
impl UnwindSafe for AutosuggestScorerHandoffError
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