pub struct ConsumerIsolationConfig {
pub max_value_bytes: u64,
pub max_request_bytes: u64,
pub max_batch_items: usize,
}Expand description
Process-global and tenant admission limits.
Fields§
§max_value_bytes: u64Process-health value limit checked before tenant quota.
max_request_bytes: u64Process-health request bytes checked before tenant quota.
max_batch_items: usizeProcess-health batch item limit checked before tenant quota.
Trait Implementations§
Source§impl Clone for ConsumerIsolationConfig
impl Clone for ConsumerIsolationConfig
Source§fn clone(&self) -> ConsumerIsolationConfig
fn clone(&self) -> ConsumerIsolationConfig
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 ConsumerIsolationConfig
Source§impl Debug for ConsumerIsolationConfig
impl Debug for ConsumerIsolationConfig
Source§impl Default for ConsumerIsolationConfig
impl Default for ConsumerIsolationConfig
Source§impl<'de> Deserialize<'de> for ConsumerIsolationConfig
impl<'de> Deserialize<'de> for ConsumerIsolationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConsumerIsolationConfig
Source§impl PartialEq for ConsumerIsolationConfig
impl PartialEq for ConsumerIsolationConfig
Source§fn eq(&self, other: &ConsumerIsolationConfig) -> bool
fn eq(&self, other: &ConsumerIsolationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConsumerIsolationConfig
impl Serialize for ConsumerIsolationConfig
impl StructuralPartialEq for ConsumerIsolationConfig
Auto Trait Implementations§
impl Freeze for ConsumerIsolationConfig
impl RefUnwindSafe for ConsumerIsolationConfig
impl Send for ConsumerIsolationConfig
impl Sync for ConsumerIsolationConfig
impl Unpin for ConsumerIsolationConfig
impl UnsafeUnpin for ConsumerIsolationConfig
impl UnwindSafe for ConsumerIsolationConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.