pub struct MigrationExecutionResourceLimits { /* private fields */ }Expand description
Tighten-only bounded resources for one migration execution invocation.
Implementations§
Source§impl MigrationExecutionResourceLimits
impl MigrationExecutionResourceLimits
Sourcepub const fn tightened(
transaction_groups: usize,
backfill_observations: usize,
) -> MigrationExecutionResourceLimits
pub const fn tightened( transaction_groups: usize, backfill_observations: usize, ) -> MigrationExecutionResourceLimits
Construct limits clamped to the shared ceilings.
Sourcepub const fn transaction_groups(self) -> usize
pub const fn transaction_groups(self) -> usize
Return the maximum transaction groups admitted by this invocation.
Sourcepub const fn backfill_observations(self) -> usize
pub const fn backfill_observations(self) -> usize
Return the maximum retained terminal backfill observations.
Trait Implementations§
Source§impl Clone for MigrationExecutionResourceLimits
impl Clone for MigrationExecutionResourceLimits
Source§fn clone(&self) -> MigrationExecutionResourceLimits
fn clone(&self) -> MigrationExecutionResourceLimits
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 moreimpl Copy for MigrationExecutionResourceLimits
Source§impl Default for MigrationExecutionResourceLimits
impl Default for MigrationExecutionResourceLimits
Source§fn default() -> MigrationExecutionResourceLimits
fn default() -> MigrationExecutionResourceLimits
Returns the “default value” for a type. Read more
impl Eq for MigrationExecutionResourceLimits
impl StructuralPartialEq for MigrationExecutionResourceLimits
Auto Trait Implementations§
impl Freeze for MigrationExecutionResourceLimits
impl RefUnwindSafe for MigrationExecutionResourceLimits
impl Send for MigrationExecutionResourceLimits
impl Sync for MigrationExecutionResourceLimits
impl Unpin for MigrationExecutionResourceLimits
impl UnsafeUnpin for MigrationExecutionResourceLimits
impl UnwindSafe for MigrationExecutionResourceLimits
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.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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request