pub enum LimitReason {
QuotaExceeded,
SpendCapExceeded,
ArithmeticOverflow,
}Expand description
Why a usage reservation was rejected.
Variants§
QuotaExceeded
The unit quota would be exceeded.
SpendCapExceeded
The monetary spend cap would be exceeded.
ArithmeticOverflow
Calculating the requested total exceeded the representable range.
Trait Implementations§
Source§impl Clone for LimitReason
impl Clone for LimitReason
impl Copy for LimitReason
Source§impl Debug for LimitReason
impl Debug for LimitReason
impl Eq for LimitReason
Source§impl PartialEq for LimitReason
impl PartialEq for LimitReason
impl StructuralPartialEq for LimitReason
Auto Trait Implementations§
impl Freeze for LimitReason
impl RefUnwindSafe for LimitReason
impl Send for LimitReason
impl Sync for LimitReason
impl Unpin for LimitReason
impl UnsafeUnpin for LimitReason
impl UnwindSafe for LimitReason
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