pub enum BudgetError {
Terms {
class: String,
detail: String,
},
Query(String),
}Expand description
2026-10-02: Why the class’s memory terms could not be read.
Variants§
Terms
2026-10-02: The HARDWARE.toml text, or its [memory] table.
Query(String)
2026-10-02: An inverse query whose lower bound does not fit, or whose evaluator failed.
Trait Implementations§
Source§impl Clone for BudgetError
impl Clone for BudgetError
Source§fn clone(&self) -> BudgetError
fn clone(&self) -> BudgetError
Returns a duplicate of the value. Read more
1.0.0 · 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 BudgetError
impl Debug for BudgetError
Source§impl Display for BudgetError
impl Display for BudgetError
Source§impl Error for BudgetError
impl Error for BudgetError
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<BudgetError> for MemoryError
impl From<BudgetError> for MemoryError
Source§fn from(source: BudgetError) -> Self
fn from(source: BudgetError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BudgetError
impl PartialEq for BudgetError
impl Eq for BudgetError
impl StructuralPartialEq for BudgetError
Auto Trait Implementations§
impl Freeze for BudgetError
impl RefUnwindSafe for BudgetError
impl Send for BudgetError
impl Sync for BudgetError
impl Unpin for BudgetError
impl UnwindSafe for BudgetError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.