pub enum IntelligenceError {
InvalidPosition,
CompletionCatalogTooLarge,
InvalidCompletionCatalogEntry {
index: usize,
},
DuplicateCompletionCatalogId {
index: usize,
},
}Expand description
Operational failure at the language-intelligence input boundary.
Variants§
InvalidPosition
The supplied source position is outside the source or its coordinates disagree.
CompletionCatalogTooLarge
The caller supplied more icon entries than the bounded contract permits.
InvalidCompletionCatalogEntry
One catalog entry violates the portable identifier or text bounds.
DuplicateCompletionCatalogId
An icon identifier occurs more than once in the catalog.
Trait Implementations§
Source§impl Clone for IntelligenceError
impl Clone for IntelligenceError
Source§fn clone(&self) -> IntelligenceError
fn clone(&self) -> IntelligenceError
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 IntelligenceError
impl Debug for IntelligenceError
Source§impl Display for IntelligenceError
impl Display for IntelligenceError
impl Eq for IntelligenceError
Source§impl Error for IntelligenceError
impl Error for IntelligenceError
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 IntelligenceError
impl PartialEq for IntelligenceError
impl StructuralPartialEq for IntelligenceError
Auto Trait Implementations§
impl Freeze for IntelligenceError
impl RefUnwindSafe for IntelligenceError
impl Send for IntelligenceError
impl Sync for IntelligenceError
impl Unpin for IntelligenceError
impl UnsafeUnpin for IntelligenceError
impl UnwindSafe for IntelligenceError
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