pub struct MutationBudget {
pub max_input_records: usize,
pub max_input_bytes: usize,
pub max_derived_entries: usize,
pub max_derived_bytes: usize,
pub max_accounted_memory_bytes: usize,
pub max_cas_attempts: usize,
pub max_elapsed: Duration,
}Fields§
§max_input_records: usize§max_input_bytes: usize§max_derived_entries: usize§max_derived_bytes: usize§max_accounted_memory_bytes: usize§max_cas_attempts: usize§max_elapsed: DurationImplementations§
Trait Implementations§
Source§impl Clone for MutationBudget
impl Clone for MutationBudget
Source§fn clone(&self) -> MutationBudget
fn clone(&self) -> MutationBudget
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 MutationBudget
impl Debug for MutationBudget
Source§impl Default for MutationBudget
impl Default for MutationBudget
impl Eq for MutationBudget
Source§impl PartialEq for MutationBudget
impl PartialEq for MutationBudget
impl StructuralPartialEq for MutationBudget
Auto Trait Implementations§
impl Freeze for MutationBudget
impl RefUnwindSafe for MutationBudget
impl Send for MutationBudget
impl Sync for MutationBudget
impl Unpin for MutationBudget
impl UnsafeUnpin for MutationBudget
impl UnwindSafe for MutationBudget
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more