pub struct BudgetExceeded {
pub kind: BudgetKind,
pub used: u64,
pub limit: u64,
}Expand description
A ClientBudget limit was exceeded by the current transaction attempt.
used and limit are expressed in milliseconds for BudgetKind::Time,
in bytes otherwise.
Fields§
§kind: BudgetKindThe limit that was exceeded.
used: u64What the attempt used, milliseconds for BudgetKind::Time, bytes
otherwise.
limit: u64The configured limit, in the same unit as used.
Trait Implementations§
Source§impl Clone for BudgetExceeded
impl Clone for BudgetExceeded
Source§fn clone(&self) -> BudgetExceeded
fn clone(&self) -> BudgetExceeded
Returns a copy 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 BudgetExceeded
impl Debug for BudgetExceeded
Source§impl Display for BudgetExceeded
impl Display for BudgetExceeded
Source§impl Error for BudgetExceeded
impl Error for BudgetExceeded
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<BudgetExceeded> for FdbBindingError
impl From<BudgetExceeded> for FdbBindingError
Source§fn from(e: BudgetExceeded) -> Self
fn from(e: BudgetExceeded) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BudgetExceeded
impl PartialEq for BudgetExceeded
impl Copy for BudgetExceeded
impl Eq for BudgetExceeded
impl StructuralPartialEq for BudgetExceeded
Auto Trait Implementations§
impl Freeze for BudgetExceeded
impl RefUnwindSafe for BudgetExceeded
impl Send for BudgetExceeded
impl Sync for BudgetExceeded
impl Unpin for BudgetExceeded
impl UnwindSafe for BudgetExceeded
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