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