pub struct IndexPolicySettings {
pub interval_ms: Option<u64>,
pub backoff: Option<u32>,
pub tail_threshold: Option<u64>,
pub tail_deadline_ms: Option<u64>,
}Expand description
Index-publication pacing fields for Admin::set_index_policy: None
in a request leaves the field unchanged; responses set every field to
the effective policy.
Fields§
§interval_ms: Option<u64>Base interval between publications (ms).
backoff: Option<u32>Minimum wait before the next publication, as a multiple of the previous publication’s duration (0 disables the backoff).
tail_threshold: Option<u64>Pending-datom count below which a due publication is deferred (0 publishes any pending work).
tail_deadline_ms: Option<u64>Longest a below-threshold tail defers publication (ms).
Trait Implementations§
Source§impl Clone for IndexPolicySettings
impl Clone for IndexPolicySettings
Source§fn clone(&self) -> IndexPolicySettings
fn clone(&self) -> IndexPolicySettings
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 IndexPolicySettings
Source§impl Debug for IndexPolicySettings
impl Debug for IndexPolicySettings
Source§impl Default for IndexPolicySettings
impl Default for IndexPolicySettings
Source§fn default() -> IndexPolicySettings
fn default() -> IndexPolicySettings
Returns the “default value” for a type. Read more
impl Eq for IndexPolicySettings
Source§impl PartialEq for IndexPolicySettings
impl PartialEq for IndexPolicySettings
impl StructuralPartialEq for IndexPolicySettings
Auto Trait Implementations§
impl Freeze for IndexPolicySettings
impl RefUnwindSafe for IndexPolicySettings
impl Send for IndexPolicySettings
impl Sync for IndexPolicySettings
impl Unpin for IndexPolicySettings
impl UnsafeUnpin for IndexPolicySettings
impl UnwindSafe for IndexPolicySettings
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<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> 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