#[non_exhaustive]pub enum OperationalError {
InvalidCatalog {
reason: &'static str,
},
InvalidProviderPack {
reason: &'static str,
},
InvalidLanguageIntelligenceInput {
reason: &'static str,
},
InvalidIntermediateRepresentation {
reason: &'static str,
},
}Expand description
Failure in execution inputs or internal pipeline invariants, not in Stack source.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidCatalog
A provided catalog violates an invariant required by pure execution.
InvalidProviderPack
A provider pack violates safe deterministic rendering invariants.
InvalidLanguageIntelligenceInput
A language-intelligence request violates its stateless input contract.
InvalidIntermediateRepresentation
Compiler or layout data violates an invariant required by pure execution.
Trait Implementations§
Source§impl Clone for OperationalError
impl Clone for OperationalError
Source§fn clone(&self) -> OperationalError
fn clone(&self) -> OperationalError
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 OperationalError
impl Debug for OperationalError
Source§impl Display for OperationalError
impl Display for OperationalError
impl Eq for OperationalError
Source§impl Error for OperationalError
impl Error for OperationalError
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 OperationalError
impl PartialEq for OperationalError
impl StructuralPartialEq for OperationalError
Auto Trait Implementations§
impl Freeze for OperationalError
impl RefUnwindSafe for OperationalError
impl Send for OperationalError
impl Sync for OperationalError
impl Unpin for OperationalError
impl UnsafeUnpin for OperationalError
impl UnwindSafe for OperationalError
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