pub enum BudgetConfigurationError {
NegativeAmount {
field: &'static str,
value: i64,
},
}Expand description
Invalid configuration supplied at a budget-engine trust boundary.
Variants§
Trait Implementations§
Source§impl Clone for BudgetConfigurationError
impl Clone for BudgetConfigurationError
Source§fn clone(&self) -> BudgetConfigurationError
fn clone(&self) -> BudgetConfigurationError
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 BudgetConfigurationError
impl Debug for BudgetConfigurationError
Source§impl Display for BudgetConfigurationError
impl Display for BudgetConfigurationError
impl Eq for BudgetConfigurationError
Source§impl Error for BudgetConfigurationError
impl Error for BudgetConfigurationError
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 BudgetConfigurationError
impl PartialEq for BudgetConfigurationError
impl StructuralPartialEq for BudgetConfigurationError
Auto Trait Implementations§
impl Freeze for BudgetConfigurationError
impl RefUnwindSafe for BudgetConfigurationError
impl Send for BudgetConfigurationError
impl Sync for BudgetConfigurationError
impl Unpin for BudgetConfigurationError
impl UnsafeUnpin for BudgetConfigurationError
impl UnwindSafe for BudgetConfigurationError
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.